Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 9ed9c4416a07446e5e03e5408c5d89a608740a13
Ticket: 622120ffffffffffffffffffffffffffffffffff
Tcl_UniCharToUtfDString: 2. arg
User & Date: pointsman on 2002-10-11 22:16:29
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    
    Currently, Tcl_UniCharToUtfDString requires, that the
    second argument  must  specify  the length of the given
    Unicode string. 
    
    Tcl_UtfToUniCharDString, on the other hand, allows -1
    as second argument, in which case
    Tcl_UtfToUniCharDString  uses strlen  to calculate  the
    length of the UTF string to convert. This behavior
    feels familiar from Tcl_DStringAppend.
    
    Please consider a similar behavior for
    Tcl_UniCharToUtfDString: -1 as second argument should
    mean, convert the unicode string to convert up to the
    first unicode 0 (Tcl_UniCharToUtfDString should use
    Tcl_UniCharLen by itself internaly, if the second arg
    is -1).
    
    rolf
    
    
  4. foundin changed to: "None"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "pointsman"
  9. subsystem changed to: "None"
  10. title changed to: "Tcl_UniCharToUtfDString: 2. arg"
  11. type changed to: "RFE"