Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 37107109306feb27333eb906f7b718067697cd04
Ticket: 619164ffffffffffffffffffffffffffffffffff
Incorrect conversion of \000 using UTF-8
User & Date: dkf on 2002-10-08 16:58:32
Changes

  1. assignee changed to: "dkf"
  2. closedate changed to: "2002-10-08T09:58:32"
  3. closer changed to: "dkf"
  4. foundin changed to: "obsolete: 8.4.0"
  5. icomment:
    Logged In: YES 
    user_id=79902
    
    This is correct and intentional. Tcl encodes \u0000 as a
    multi-byte sequence because this allows (pseudo-)UTF8
    strings to be manipulated for many purposes with the
    standard C string processing functions, which keeps a lot of
    code much simpler.  Without that, you have to start passing
    lengths of things *everywhere* and many APIs become a lot
    more complex (and just to deal with an extremely rare edge
    case.)
    
    Unless someone can exhibit a case where this causes a real
    problem, I can't see this as anything that needs further
    action.
    
    
  6. login: "dkf"
  7. mimetype: "text/plain"
  8. resolution changed to: "Invalid"
  9. status changed to: "Closed"
  10. username: "dkf"