Skip to content
Tcl Source Code History Of Ticket 304d30677a2cd621
Login

History Of Ticket 304d30677a2cd621

Artifacts Associated With Ticket 304d30677a2cd621

  1. Ticket change [fd15760bc6] (rid 230318) by apnadkarni on 2024-08-18 17:15:07:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/x-markdown"
    4. comment initialized to:
      ```
      % encoding convertfrom cesu-8 [encoding convertto cesu-8 \U1f600]
      unexpected byte sequence starting at index 0: '\xED'
      ```
      
    5. foundin initialized to: "9.0b3"
    6. is_private initialized to: "0"
    7. login: "apnadkarni"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "9546e9877f1a8899e25a89082561ee694e7fb402"
    10. resolution initialized to: "None"
    11. severity initialized to: "Important"
    12. status initialized to: "Open"
    13. submitter initialized to: "apnadkarni"
    14. subsystem initialized to: "- New Builtin Commands"
    15. title initialized to: "CESU-8 decoding broken for non-BMP characters"
    16. type initialized to: "Bug"
  2. Ticket change [5ccc8cf4fc] (rid 230328) by apnadkarni on 2024-08-18 17:38:50:

    1. icomment:
      Proposed fix in [196cc3a439]. Still incomplete though passes current test suite. Needs a thorough review for correctness and possible simplification. But see the comments in the commit message.
      
    2. login: "apnadkarni"
    3. mimetype: "text/x-fossil-plain"
  3. Ticket change [958a994b3d] (rid 230376) by juliannoble2 on 2024-08-19 18:19:31:

    1. icomment:
      If this perhaps won't make it into Tcl 9 anyway - is there any consideration for handling the Java style cesu-8 which translates nul-bytes as 0xC0,0x80 ?
      Would this need to be a different encoding name such as cesu-8j or mutf-8? 
      
      I'm not hassling for it - just wondering if this impacts the decision on whether to refactor parts of it as you mentioned.
      
    2. login: "juliannoble2"
    3. mimetype: "text/plain"
  4. Ticket change [72ec69122d] (rid 230380) by jan.nijtmans on 2024-08-19 22:33:04:

    1. icomment:
      Thanks, Ashok, for taking this.
      
      I don't mind very much what exactly the CESU-8 encoding is doing. What does the CESU-8 encoding in ICU do with null-bytes? A separate mutf-8 encoding is a possibility, is it worth the effort?
      
    2. login: "jan.nijtmans"
    3. mimetype: "text/x-fossil-wiki"
  5. Ticket change [c0dfae537f] (rid 230430) by apnadkarni on 2024-08-20 12:01:10:

    1. icomment:
      Given any consideration of modified utf8 (Java style) should not be considered for 9.0, the only immediate question to be answered is, whether the cesu-8 fix should be applied to trunk for inclusion into 9.0. I see two alternatives:
      
      1. Include the fix as surrogates are the whole reason for cesu-8 existence and without the fix, there is no point including cesu-8.
      
      2. Conversely, since cesu-8 is pointless without the fix, remove cesu-8 entirely from the code.
      
      From a code point of view, 2. is more surgical, less intrusive. But it is loss of functionality (there must have been a reason for including it) and probably requires a TIP.
      
      Jan, a lot depends on whether you have time to review the fix and are comfortable with the changes.
      
    2. login: "apnadkarni"
    3. mimetype: "text/plain"
  6. Ticket change [661cda849f] (rid 230452) by jan.nijtmans on 2024-08-20 13:12:28:

    1. icomment:
      > Jan, a lot depends on whether you have time to review the fix and are comfortable with the changes.
      
      I agree with your approach, using the channel state to control the generation of two separate surrogates. So, just go ahead.
      
    2. login: "jan.nijtmans"
    3. mimetype: "text/x-fossil-wiki"
  7. Ticket change [c97c4779c1] (rid 230672) by apnadkarni on 2024-08-22 10:04:56:

    1. closedate changed to: "2460544.92009692"
    2. closer changed to: "apnadkarni"
    3. icomment: "Fixed in [96e96a1865]."
    4. login: "apnadkarni"
    5. mimetype: "text/x-fossil-plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"