Overview
| Artifact ID: | b29857c701f076f2ca36cccd395c63db1d1dabfeeb84a7c07f9ac9ad76b3d0a4 |
|---|---|
| Ticket: | 821620d417f604c40619b610348af78d4c32b855
Different handling of surrogates in utf-8 between Tcl8 and Tcl9 |
| User & Date: | apnadkarni on 2023-02-25 04:56:26 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-markdown"
- comment changed to:
In Tcl 8.7, ``` % package require Tcl 8.7a6 % codepoints [encoding convertfrom utf-8 [binary decode hex EDAFBFEDBFBF]] U+10FFFF ``` In Tcl 9, ``` % package require Tcl 9.0a4 % codepoints [encoding convertfrom utf-8 [binary decode hex EDAFBFEDBFBF]] U+00DBFF U+00DFFF ``` Surrogate pairs are not allowed in strict utf-8 but the above is not strict. In my opinion, the Tcl 8.7 behavior is preferable but since this is non-conformant anyways, either behavior might be ok. But they should be consistent between Tcl 8 and 9.
- foundin changed to: "8.7"
- 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:
Different handling of surrogates in utf-8 between Tcl8 and Tcl9
- type changed to: "Bug"