Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 679f46fa6a8d57da4b57774b05513ba65fae37d3d93a3d3d47c2f46352312c8e
Ticket: d19fe0a5bf54c97217eaba4b28a2c80cf4d16c13
Handling incomplete byte sequences for utf-16/utf-32
User & Date: jan.nijtmans on 2023-02-23 11:17:16
Changes

  1. closedate changed to: "2459998.97033498"
  2. closer changed to: "jan.nijtmans"
  3. icomment:
    Follow-up [548b08e28bde6ab2|here]
    
    When this fix was merged forward, it turned out that Tcl 8.7 only produces TCL_CONVERT_SYNTAX in -strict mode here. Which doesn't exist in 8.6. Therefore - in Tcl 8.6 - we should always produce \xFFFD in this case for maximum consistancy between Tcl versions.
    
    So, in Tcl 8.6 now:
    
    <pre>
    $ tclsh8.6
    % encoding convertfrom unicode \x41\x41\x41
    䅁�
    </pre>
    
  4. login: "jan.nijtmans"
  5. mimetype: "text/x-fossil-wiki"
  6. resolution changed to: "Fixed"
  7. status changed to: "Closed"