Artifacts Associated With Ticket f9539dce52e2dac8
Ticket change [81a6018ca3] (rid 138602) by samoc on 2014-07-10 03:53:25:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
If I write "puts 😞" the output is "c3 b0 c2 9f c2 98 c2 9e 0a" the correct output would be "f0 9f 98 9e 0a" http://www.charbase.com/1f61e-unicode-disappointed-face
- foundin initialized to: "8.6.1 OSX 10.9.2"
- is_private initialized to: "0"
- login: "samoc"
- priority initialized to: "5 Medium"
- private_contact initialized to: "eb5a509309d4ff62bdd05009993eace4edd25f7e"
- resolution initialized to: "None"
- severity initialized to: "Critical"
- status initialized to: "Open"
- submitter initialized to: "samoc"
- subsystem initialized to: "44. UTF-8 Strings"
- title initialized to: "UTF-8 Source code not parsed correctly"
- type initialized to: "Bug"
Add attachment "utf8_test.tcl" [ba4e578161] (rid 138603) by samoc on 2014-07-10 03:54:53.
Ticket change [1200bc398a] (rid 138604) by samoc on 2014-07-10 04:05:42:
- icomment:
It seems (after following the source code from Tcl_SourceObjCmd() all the way through to Tcl_UniCharToUtf()) that "#define TCL_UTF_MAX 3" in tcl.h is the problem. At the very least there should either be very noticeable warnings in the documentation that say that "UTF-8 is not fully supported and your valid UTF-8 data may be silently corrupted" or there should be an error thrown when a valid UTF-8 character is encountered that is not supported.
- login: "samoc"
- mimetype: "text/plain"
- icomment:
Ticket change [13ee8d2026] (rid 138611) by jan.nijtmans on 2014-07-10 14:27:28:
- assignee changed to: "jan.nijtmans"
- icomment:
At this moment, Characters > 0xffff are not supported. Adding this is ongoing work, being done in implementing TIP [http://www.tcl.tk/cgi-bin/tct/tip/389.html|389].
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Postponed"
- severity changed to: "Minor"
- type changed to: "RFE"
Ticket change [11218d4d62] (rid 138612) by jan.nijtmans on 2014-07-10 14:27:52:
- icomment:
At this moment, Characters > 0xffff are not supported. Adding this is ongoing work, being done in implementing TIP [http://www.tcl.tk/cgi-bin/tct/tip/389.html|389].
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- icomment:
Ticket change [01dcabc2a4] (rid 192636) by jan.nijtmans on 2021-03-18 14:52:22:
- closedate changed to: "2459292.11970713"
- closer changed to: "jan.nijtmans"
- icomment: "This is fixed in Tcl 8.6.10"
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Fixed"
- status changed to: "Closed"