Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 92c104578d6aeddc03d381a9892573b5fc3792f9c4a7e390d8651a69dfe4e215
Ticket: 8a13caa31dd8e3a546b8d44c235bb98cd52bd774
Setting of system encoding isn't applied to stdout on certain circumstances
User & Date: apnadkarni on 2025-08-17 11:54:10
Changes

  1. icomment:
    And to further narrow down and eliminate the testing framework:
    
    ```
    c:\src\tcltk\wip\tcl\win>cat z.tcl
    
            encoding system iso2022-jp
            set a "ä1Zä1zä1Y"; # 3 Japanese Kanji letters
            puts $a
    
    
    c:\src\tcltk\wip\tcl\win>Release_AMD64_VC1939\tcltest90.exe z.tcl | od -t x1
    0000000 e4 b9 8e e4 b9 9e e4 b9 9f 0d 0a
    0000013
    
    c:\src\tcltk\wip\tcl\win>Release_AMD64_VC1939\tclsh90.exe z.tcl | od -t x1
    0000000 1b 24 42 38 43 38 70 4c 69 1b 28 42 0d 0a
    0000016
    ```
    
  2. login: "apnadkarni"
  3. mimetype: "text/x-markdown"