Artifacts Associated With Ticket 1334273fffffffff
Ticket change [3d757b1b65] (rid 121090) by nobody on 2005-10-21 15:30:53:
- assignee initialized to: "msofer"
- cmimetype initialized to: "text/plain"
- comment initialized 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 initialized to: "None"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "10. Objects"
- title initialized to: "[encoding convertfrom] falls through to iso8859-1"
- type initialized to: "Bug"
Ticket change [1c4d4ff1cc] (rid 90573) by msofer on 2005-10-22 09:38:17:
- assignee changed to: "hobbs"
- icomment:
Logged In: YES user_id=148712 See also [RFE 535705]
- login: "msofer"
- mimetype: "text/plain"
- username: "msofer"
Ticket change [c29c084b1c] (rid 252946) by apnadkarni on 2026-04-21 15:42:46:
- assignee changed to: "aku"
- closedate changed to: "2461152.1547028124"
- closer changed to: "apnadkarni"
- 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]
- icomment:
Closing. Tcl 9 raises an error (correctly) and too late to fix for Tcl 8.
- login: "apnadkarni"
- mimetype: "text/plain"
- resolution changed to: "Out of Date"
- severity changed to: "Minor"
- status changed to: "Closed"