Skip to content
Tcl Source Code History Of Ticket 0e10a7197
Login

History Of Ticket 0e10a7197

Artifacts Associated With Ticket 0e10a7197

  1. Ticket change [c41d19cc92] (rid 153459) by gcramer on 2017-05-02 19:53:45:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/html"
    4. 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>
      
    5. foundin initialized to: "8.6/8.7"
    6. is_private initialized to: "0"
    7. login: "gcramer"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "9b7155594aadef44d10a978838b8fe108cdafdd1"
    10. resolution initialized to: "None"
    11. severity initialized to: "Minor"
    12. status initialized to: "Open"
    13. submitter initialized to: "gcramer"
    14. subsystem initialized to: "44. UTF-8 Strings"
    15. title initialized to: "Bug in Tcl_UniCharToUtf"
    16. type initialized to: "Bug"
  2. Ticket change [ff6c1db9a3] (rid 153460) by jan.nijtmans on 2017-05-02 20:55:35:

    1. assignee changed to: "jan.nijtmans"
    2. closedate changed to: "2457876.3719411"
    3. closer changed to: "jan.nijtmans"
    4. icomment:
      It's deliberate. For an explanation, see: [http://wiki.tcl.tk/14026].
      
    5. login: "jan.nijtmans"
    6. mimetype: "text/plain"
    7. resolution changed to: "Invalid"
    8. status changed to: "Closed"
  3. Ticket change [03729838a1] (rid 153461) by aku on 2017-05-02 23:04:38:

    1. closedate changed to: "2457876.46155488"
    2. closer changed to: "aku"
    3. icomment:
      See also [https://en.wikipedia.org/wiki/UTF-8#Modified_UTF-8]
      
    4. login: "aku"
    5. mimetype: "text/x-fossil-wiki"