Overview
| Comment: | Make Tcl_UtfCharComplete() usable for both Tcl_UtfToUniChar() and Tcl_UtfToChar16(). Defect noticed by Don Porter. Thanks! Add test-cases, assuring correct handling of 4-byte UTF-8 sequences. Use "end-1", "end" and "end+1" in testcases related to Tcl_NumUtfChars(), that's more readable/maintainable than integers. |
|---|---|
| Timelines: | family | ancestors | descendants | both | core-8-branch |
| Files: | files | file ages | folders |
| SHA3-256: |
20a619daf1492798b205e20329e724bc |
| User & Date: | jan.nijtmans on 2020-04-06 09:22:18.846 |
| Other Links: | branch diff | manifest | tags |
Context
|
2020-04-06
| ||
| 20:33 | Fix [dd010cadfb]: [string trim] mishandles surrogates check-in: b2cf8c2a88 user: jan.nijtmans tags: core-8-branch | |
| 19:30 | merge 8.7 check-in: 1ec1644535 user: dgp tags: dgp-review | |
| 09:34 | Merge 8.7 check-in: 6cab2051c4 user: jan.nijtmans tags: trunk | |
| 09:22 | Make Tcl_UtfCharComplete() usable for both Tcl_UtfToUniChar() and Tcl_UtfToChar16(). Defect noticed ... check-in: 20a619daf1 user: jan.nijtmans tags: core-8-branch | |
|
2020-04-05
| ||
| 20:40 | Better use public function Tcl_GetIntForIndex() in stead of private one. check-in: d18abe0efb user: jan.nijtmans tags: core-8-branch | |
Changes
Modified generic/tclUtf.c
from [1953dc70c0]
to [086b32b017].
[diff]
Modified tests/utf.test
from [9d89e0776c]
to [7a0f6c01e0].
[diff]