Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 45a6010e21b3f393b51d8aeeb79a8647521a2356
Ticket: 624919ffffffffffffffffffffffffffffffffff
Tcl_AppendToObj docs confusing
User & Date: dgp on 2002-10-22 21:08:51
Changes

  1. icomment:
    Logged In: YES 
    user_id=80530
    
    Note that this is a general problem.
    Uncertainty about what encoding is
    required for the string pointed to by
    objPtr->bytes.
    
    It arose in Tcl Bug 584603 as well.
    If we are requiring UTF-8, then there's
    probably additional places in the docs
    to note this.  Also, do we know of any
    extensions/users of Tcl_Obj's that have
    used the documented freedom to have
    non-encoded embedded NULLs in the
    counted strings pointed to by objPtr->bytes
    that we are now belatedly declaring illegal?
    
    Note in particular that Tcl's own command
    [encoding convertfrom identity] is now illegal
    by this documentation change, since it can
    return a Tcl_Obj with a non-UTF8 string rep.
    
    
  2. login: "dgp"
  3. mimetype: "text/plain"
  4. resolution changed to: "Remind"
  5. status changed to: "Open"
  6. username: "dgp"