Overview
| Comment: | Fix. Note that just because we get one positive detection of an incomplete character, we cannot conclude that the next byte also will be, or can by taken as a single byte. At least we cannot when TCL_UTF_MAX > 3 so that we have room for valid two-byte sequences after incomplete sequence detection. No need for conditional code, just use an algorithm that always works. |
|---|---|
| Timelines: | family | ancestors | descendants | both | bug-b2816a3afe |
| Files: | files | file ages | folders |
| SHA3-256: |
899e66a3c01128901a93021024a807a7 |
| User & Date: | dgp on 2020-05-07 19:08:24.347 |
| Other Links: | branch diff | manifest | tags |
Context
|
2020-05-07
| ||
| 19:12 | [b2816a3afe] Fix counting of malformed sequences at end of string. check-in: 683444cef2 user: dgp tags: core-8-5-branch | |
| 19:08 | Fix. Note that just because we get one positive detection of an incomplete character, we cannot con... closed check-in: 899e66a3c0 user: dgp tags: bug-b2816a3afe | |
| 18:56 | Test demonstrating bug in ticket [b2816a3afe]. check-in: 1c633ff6d0 user: dgp tags: bug-b2816a3afe | |
Changes
Modified generic/tclUtf.c
from [d9de658c5f]
to [633872436b].
[diff]