Overview
| Artifact ID: | c68be4d1b42a027f28c67a0a47902164c1a09749e0e33e899c4a6ff4c3b326a3 |
|---|---|
| Ticket: | 0d61d3a2bb905178694d6cde8147039974600274
Tcl interprets two adjacent surrogate code points as a character encoded using UTF-16 |
| User & Date: | jan.nijtmans on 2021-10-31 11:13:15 |
Changes
- icomment:
> Is there a plan to fix this? In Tcl 8.7, due to the dual-value implementation of strings (UTF-8 and UTF-16), this cannot be fixed: it cannot be prevented that the internal UTF-16 implementation leaks through at script level. In Tcl 9.0, there's still room for changing this, since the internal implementation changed from UTF-16 to UTF-32. So, feel free to start a new branch based on 9.0 (and - maybe - a new TIP): this way it will become more clear what the implications of those changes are.
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"