Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: eb5ed74de57a850d2d77902cf0f2f9bf3a92b61a73a2ba4d67f25106152b502c
Ticket: f887005c8eb4dae8184e4b3b6ae1f3b86727196e
Table-driven encoders broken (for some cases) for -profile tcl8
User & Date: apnadkarni on 2025-06-24 11:48:22
Changes

  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"