Overview
| Comment: | Revise the totalBytes array so that it stores the number of bytes in a valid byte sequence beginning with the byte value of the index. This is harmless to existing uses of the array. Trail bytes do not lead a valid byte sequence so their entries are changed to 0. CORRECTION: That's not quite true. The change revises the results of tests utf-6.95 and utf-6.116 through changing results of Tcl_UtfCharComplete, but that's the point of this path. |
|---|---|
| Timelines: | family | ancestors | descendants | both | dgp-27944a3661 |
| Files: | files | file ages | folders |
| SHA3-256: |
4f1fbe0e8b6558cbe140ceea9dfa7dea |
| User & Date: | dgp on 2020-04-23 14:02:18.845 |
| Original Comment: | Revise the totalBytes array so that it stores the number of bytes in a valid byte sequence beginning with the byte value of the index. This is harmless to existing uses of the array. Trail bytes do not lead a valid byte sequence so their entries are changed to 0. |
| Other Links: | branch diff | manifest | tags |
Context
|
2020-04-23
| ||
| 14:51 | Merge the two modes of Tcl_UtfNext into a single loop. check-in: c6dba8e537 user: dgp tags: dgp-27944a3661 | |
| 14:02 | Revise the totalBytes array so that it stores the number of bytes in a valid byte sequence beginnin... check-in: 4f1fbe0e8b user: dgp tags: dgp-27944a3661 | |
| 13:31 | merge 8.5 check-in: 91b6c7962c user: dgp tags: dgp-27944a3661 | |
Changes
Modified generic/tclUtf.c
from [d32185c5a9]
to [2387b5d5bf].
[diff]