Overview
| Artifact ID: | 73dfd935df99cb3cea67f085c2cad403bcd766b3720e0424b06fe10f9b830092 |
|---|---|
| Ticket: | bd1a60eb9c080fc419473d7fadc6048d5753daa8
convertfrom utf-8 strict mode allows surrogates in input sequence |
| User & Date: | apnadkarni on 2023-02-11 16:23:52 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-markdown"
- comment changed to:
I think the following is a bug as conformant utf-8 streams are explicitly not permitted to have encoded surrogates. ``` % proc codepoints {s} {join [lmap c [split $s ""] { string cat U+ [format %.6X [scan $c %c]]}] } % codepoints [encoding convertfrom -strict utf-8 \xed\xa0\x80\xed\xb0\x80] U+010000 ``` Above should generate an exception. Looking at fixing (in apn-encoding-profile branch for now, but above sample is from core-8-branch). - foundin changed to: "8.7"
- is_private changed to: "0"
- login: "apnadkarni"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- severity changed to: "Important"
- status changed to: "Open"
- submitter changed to: "apnadkarni"
- subsystem changed to: "16. Commands A-H"
- title changed to:
convertfrom utf-8 strict mode allows surrogates in input sequence
- type changed to: "Bug"