Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: bd1f89dfb718f90ce248df7131e70142222c2190
Ticket: 624408ffffffffffffffffffffffffffffffffff
clock format double utf-8 conversion
User & Date: mic42 on 2002-10-17 02:05:59
Changes

  1. assignee changed to: "kennykb"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    I noticed the following bug with clock format on win2k
    german, SP2.
    
    
    Timezone is:
    Westeuropäische Sommerzeit
    
    Now look at this:
    tclsh84.exe
    % clock format [clock seconds]
    Thu Oct 17 04:00:14 Westeuropäische Sommerzeit 2002
    
    This is wrong.
    % clock format [clock seconds] -format "%Z"
    Westeuropäische Sommerzeit
    
    % encoding convertfrom utf-8 [clock format [clock
    seconds] -format "%Z"]]
    Westeuropäische Sommerzeit
    
    % encoding system
    cp1252
    
    So the timezone string gets converted to utf-8 twice,
    which is wrong. 
    
    I suspect the combination of:
    generic\tclClock.c line 370
    and
    win/tclWinTime.c line 473 / 485
    as the source of trouble.
    
    
    
    
  4. foundin changed to: "obsolete: 8.4.1"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "mic42"
  9. subsystem changed to: "06. Time Measurement"
  10. title changed to: "clock format double utf-8 conversion "
  11. type changed to: "Bug"