Overview
| Artifact ID: | 6f9d2224df2809ae5419c2b1bac61fa312f41253d231bfb00c34c35451f9734a |
|---|---|
| Ticket: | e27c3246c3285fda0bfccad5a6f70e97e112c8ec
Tcl_UtfToChar16 should replace invalid chars with U+FFFD |
| User & Date: | apnadkarni on 2026-06-05 08:34:05 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-markdown"
- comment changed to:
One of the important changes in Tcl 9 was to stop corrupting data by treating invalid UTF-8 sequences as CP1252. `Tcl_UtfToChar16` still engages in this behaviour and should be changed. Since error returns are not possible from this function as would be required by the `strict` profile, they should be handled as in the `replace` profile by substituting with U+FFFD.
- is_private changed to: "0"
- login: "apnadkarni"
- priority changed to: "5 Medium"
- private_contact changed to: "9546e9877f1a8899e25a89082561ee694e7fb402"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "apnadkarni"
- subsystem changed to: "- New Builtin Commands"
- title changed to:
Tcl_UtfToChar16 should replace invalid chars with U+FFFD
- type changed to: "Bug"