Overview
| Artifact ID: | 3d757b1b65a39fbe70014ade3fd75c13180d9897 |
|---|---|
| Ticket: | 1334273fffffffffffffffffffffffffffffffff
[encoding convertfrom] falls through to iso8859-1 |
| User & Date: | nobody on 2005-10-21 15:30:53 |
Changes
- assignee changed to: "msofer"
- cmimetype changed to: "text/plain"
- comment changed to:
When the .enc file of a one-byte encoding specifies that a code point is unassigned (with 0000), [encoding convertfrom] seems to return the Unicode of iso8859-1 instead of 0. man Tcl_GetEncoding(): "If a character in the encoding maps to the Unicode character 0000, it means that the character doesn't actually exist. " Example: iso8859-6.enc contains 0000 for \xFF (last row, last four digits). But % scan [encoding convertfrom iso8859-6 \xFF] %c 255 Expected behavior: 0 Workaround at http://wiki.tcl.tk/14874 (reads enc file pedestrianly, excerpts the 4-digit substring from there...) [email protected]
- foundin changed to: "None"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "10. Objects"
- title changed to: "[encoding convertfrom] falls through to iso8859-1"
- type changed to: "Bug"