Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: ba3b33f06f76cd689c1b50d90e35554fc4b5ce12
Ticket: 1363452fffffffffffffffffffffffffffffffff
binary scan unicode error
User & Date: nyademo on 2005-11-22 06:15:58
Changes

  1. assignee changed to: "dkf"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Windows2000/ActiveTcl8.4.11
    
    test
    =========================================
    set b1 \u3042\u3044
    set b2 [encoding convertto unicode $b1]
    
    binary scan $b1 H* result1;# 4244
    binary scan $b2 H* result2;# 42304430
    if {$result1 ne $result2} {error error}
    
    
    maybe is result2 value right?
    It seems to me that each second bytes was lost.
    
  4. foundin changed to: "obsolete: 8.4.11"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nyademo"
  9. subsystem changed to: "12. ByteArray Object"
  10. title changed to: "binary scan unicode error"
  11. type changed to: "Bug"