Overview
| Artifact ID: | 74030b176187b31bfa675c2f2b7bcc9137003736d4e889e83f488e8965a50b97 |
|---|---|
| Ticket: | 10c2c17c32ab68e6619f37994b09bbbd06462cd1
UTF-LE32 encoder mapping of surrogates |
| User & Date: | apnadkarni on 2023-02-06 17:01:49 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-markdown"
- comment changed to:
While beefing up test cases for encoders, the following seems suspect to me. ``` % proc codepoints {s} {join [lmap c [split $s ""] { string cat U+ [format %.8X [scan $c %c]]}] } % codepoints [encoding convertfrom utf-32le \x41\x00\x00\x00\x00\xD8\x00\x00\x42\x00\x00\x00] U+00000041 U+000000F0 U+00000042 ``` Where does the U+000000F0 come from? It seems strange that 0x0000D800 gets mapped to that value. Am I missing something? Tcl9 seems fine (maps to U+D800) - foundin changed to: "8.7"
- is_private changed to: "0"
- login: "apnadkarni"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "apnadkarni"
- subsystem changed to: "16. Commands A-H"
- title changed to: "UTF-LE32 encoder mapping of surrogates"
- type changed to: "Bug"