Skip to content
Tcl Source Code History Of Ticket f887005c8eb4dae8
Login

History Of Ticket f887005c8eb4dae8

Artifacts Associated With Ticket f887005c8eb4dae8

  1. Ticket change [47e0c559ec] (rid 241896) by apnadkarni on 2025-06-24 11:00:01:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/x-markdown"
    4. comment initialized to:
      Continuing to exhaustively test Tcl encoders with ICU results, table based encoders seem broken for some values.
      
      ```
      % scan [encoding convertfrom -profile tcl8 cp864 \x9C] %c
      339
      ```
      
      which not only does not match ICU but is essentially garbage. Tcl 8 returns correct value.
      
    5. is_private initialized to: "0"
    6. login: "apnadkarni"
    7. priority initialized to: "5 Medium"
    8. private_contact initialized to: "9546e9877f1a8899e25a89082561ee694e7fb402"
    9. resolution initialized to: "None"
    10. severity initialized to: "Minor"
    11. status initialized to: "Open"
    12. submitter initialized to: "apnadkarni"
    13. subsystem initialized to: "- New Builtin Commands"
    14. title initialized to:
      Table-driven encoders broken (for some cases) for -profile tcl8
      
    15. type initialized to: "Bug"
  2. Ticket change [02c2be2705] (rid 241897) by apnadkarni on 2025-06-24 11:00:27:

    1. comment changed to:
      Continuing to exhaustively test Tcl encoders with ICU results, table based encoders seem broken for some values. *One* example:
      
      ```
      % scan [encoding convertfrom -profile tcl8 cp864 \x9C] %c
      339
      ```
      
      which not only does not match ICU but is essentially garbage. Tcl 8 returns correct value.
      
    2. login: "apnadkarni"
    3. mimetype: "text/plain"
  3. Ticket change [eb5ed74de5] (rid 241898) by apnadkarni on 2025-06-24 11:48:22:

    1. icomment:
      Looks like it's by design. It appears it maps those code points undefined in the encoding to cp1252, not the numerical value. I thought that was supposed to only happen with ASCII and (invalid) UTF-8 input but looks like it is true for other encodings as well.
      
      It makes `-profile tcl8` not really Tcl 8 compatible and not what was specified in TIP 656 which required mapping to iso8859-1, not cp1252. I suppose this is in some other TIP somewhere. 
      
      In any case, tcl8 profile usage is really strongly deprecated imo so I am not going to bother with this.
      
      Will close after confirmation of the above.
      
    2. login: "apnadkarni"
    3. mimetype: "text/plain"
  4. Ticket change [ef5a2d22a5] (rid 241899) by jan.nijtmans on 2025-06-24 12:39:13:

    1. icomment:
      > Will close after confirmation of the above.
      
      Agreed, this is intentional. Tcl 8.7 does it the same way, so "-profile tcl8" is compatible with 8.7, not with 8.6. But since 8.7 won't be released ....
      
    2. login: "jan.nijtmans"
    3. mimetype: "text/x-fossil-wiki"
  5. Ticket change [c8f51fc85b] (rid 241922) by apnadkarni on 2025-06-24 16:06:05:

    1. closedate changed to: "2460851.17089765"
    2. closer changed to: "apnadkarni"
    3. login: "apnadkarni"
    4. mimetype: "text/plain"
    5. resolution changed to: "Rejected"
    6. status changed to: "Closed"