Skip to content
Tcl Source Code History Of Ticket 1feb5897f8038615
Login

History Of Ticket 1feb5897f8038615

Artifacts Associated With Ticket 1feb5897f8038615

  1. Ticket change [2ae17061d6] (rid 155241) by m7j4k9 on 2017-08-03 10:00:17:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/html"
    4. comment initialized to:
      The function <tt>TclParseHex</tt> in <tt>TclParse.c</tt> contains
      <pre>
      	if (!isxdigit(digit) || (result > 0x10fff)) {
      	    break;
      	}
      </pre>
      but Unicode defines code points up to <tt>0x10FFFF</tt>.
      <p>
      This simple typo in the code interferes with: social-media emoticons,<br/>
      game playing cards, academic interests like cuneiform, and much more.<br/>See
      <tt><a href="http://www.unicode.org/Public/UCD/latest/ucd/Blocks.txt">
      http://www.unicode.org/Public/UCD/latest/ucd/Blocks.txt</a></tt>
      
    5. foundin initialized to: "trunk"
    6. is_private initialized to: "0"
    7. login: "m7j4k9"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "19f06fe5054ecb07284f096bd2da5fdc29221e4e"
    10. resolution initialized to: "None"
    11. severity initialized to: "Minor"
    12. status initialized to: "Open"
    13. submitter initialized to: "m7j4k9"
    14. subsystem initialized to: "11. Conversions from String"
    15. title initialized to:
      \Uhhhhhhhh implementation does not support all Unicode code points
      
    16. type initialized to: "Bug"
  2. Ticket change [76a03371b0] (rid 155242) by jan.nijtmans on 2017-08-03 13:53:10:

    1. assignee changed to: "jan.nijtmans"
    2. closedate changed to: "2457969.07859517"
    3. closer changed to: "jan.nijtmans"
    4. icomment:
      Yes, it's true that Tcl at this moment doesn't support code points above /uFFFF. But the code line you mention isn't the right fix. This Line checks if another hex-digit can be added without causing an overflow, so there's no bug here at all. The code is correct as-is. Just run the test-suite with your proposed changement, you'll see what I mean.
      
      There's ongoing work to add support for higher codepoints, but it's nog there yet.
      
    5. login: "jan.nijtmans"
    6. mimetype: "text/plain"
    7. resolution changed to: "Invalid"
    8. status changed to: "Closed"