Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 4293adcd5a2858a8bb9da8d43499fb3cb9af0df8
Ticket: 1363452fffffffffffffffffffffffffffffffff
binary scan unicode error
User & Date: dkf on 2005-11-29 20:15:15
Changes

  1. icomment:
    Logged In: YES 
    user_id=79902
    
    That's exactly the way it is defined to work, using just the
    low byte from each character. The [encoding convertto] just
    transforms the characters into a sequence of bytes (with
    each resulting byte encoded in a single character in the
    range \u0000-\u00ff) which are then handled in the way you
    describe.
    
    The key point is that Tcl is using a different
    interpretation of bytes and (especially) characters to what
    you expected.
    
    Keeping bug open while I consider if a documentation update
    is needed.
    
    
  2. login: "dkf"
  3. mimetype: "text/plain"
  4. resolution changed to: "Invalid"
  5. username: "dkf"