Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: ce672c61a717242aa270f1272d2ca030466ba2ae
Ticket: 685926ffffffffffffffffffffffffffffffffff
tcl_platform(user) is not in UTF-8 format
User & Date: vwartelle on 2003-02-13 13:56:27
Changes

  1. assignee changed to: "nijtmans"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Problem - ActiveTcl8.4.1.0 - Win XP - (french version)
    
    set tcl_platform(user)
    Propriétaire
    puts stdout "-$tcl_platform(user)-"
    -Propriétaire-
    string bytelength "Propriétaire"
    13
    string bytelength $tcl_platform(user)
    12
    
    string compare $tcl_platform(user) "Propriétaire"
    1
    
    Workaround
    
    set username [encoding convertto /tcl/encoding/cp1252 
    $tcl_platform(user)]
    Propriétaire
    string bytelength $username
    13
    
    string compare $username "Propriétaire"
    0
    
  4. foundin changed to: "None"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "vwartelle"
  9. subsystem changed to: "44. UTF-8 Strings"
  10. title changed to: "tcl_platform(user) is not in UTF-8 format"
  11. type changed to: "Bug"