Artifacts Associated With Ticket 0e10a7197f61c2aa
Ticket change [c41d19cc92] (rid 153459) by gcramer on 2017-05-02 19:53:45:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/html"
- comment initialized to:
Please try the following: <verbatim> Tcl_UniChar uc; char buf[10]; int len = Tcl_UniCharToUtf(0, buf); Tcl_UtfToUniChar(buf, &uc); </verbatim> <p> This results into three errors: <ol> <li><p>UniCharToUtf() should return 1, and not 2. <lI><p>The buffer contains "\300\200", but it should contain "\000", see <a href="http://www.fileformat.info/info/unicode/char/0000/index.htm">FileFormat.Info</a>. <li><p>The result "\300\200" = 0xc0 0x80 is an invalid byte sequence, every serious UTF-8 validator is rejecting this result, thus it is violating the UTF-8 standard, see <a href="https://tools.ietf.org/html/rfc3629">RFC3629</a>. </ol>
- foundin initialized to: "8.6/8.7"
- is_private initialized to: "0"
- login: "gcramer"
- priority initialized to: "5 Medium"
- private_contact initialized to: "9b7155594aadef44d10a978838b8fe108cdafdd1"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "gcramer"
- subsystem initialized to: "44. UTF-8 Strings"
- title initialized to: "Bug in Tcl_UniCharToUtf"
- type initialized to: "Bug"
Ticket change [ff6c1db9a3] (rid 153460) by jan.nijtmans on 2017-05-02 20:55:35:
- assignee changed to: "jan.nijtmans"
- closedate changed to: "2457876.3719411"
- closer changed to: "jan.nijtmans"
- icomment:
It's deliberate. For an explanation, see: [http://wiki.tcl.tk/14026].
- login: "jan.nijtmans"
- mimetype: "text/plain"
- resolution changed to: "Invalid"
- status changed to: "Closed"
Ticket change [03729838a1] (rid 153461) by aku on 2017-05-02 23:04:38:
- closedate changed to: "2457876.46155488"
- closer changed to: "aku"
- icomment:
See also [https://en.wikipedia.org/wiki/UTF-8#Modified_UTF-8]
- login: "aku"
- mimetype: "text/x-fossil-wiki"