Artifacts Associated With Ticket 622120ffffffffff
Ticket change [9ed9c4416a] (rid 96547) by pointsman on 2002-10-11 22:16:29:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized 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
- foundin initialized to: "None"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "pointsman"
- subsystem initialized to: "None"
- title initialized to: "Tcl_UniCharToUtfDString: 2. arg"
- type initialized to: "RFE"
Ticket change [720d6736e2] (rid 100792) by dkf on 2003-02-23 00:25:31:
- subsystem changed to: "44. UTF-8 Strings"
Ticket change [e9bbc74c67] (rid 104859) by dgp on 2003-11-13 05:55:54:
- assignee changed to: "hobbs"
Ticket change [53dad389a1] (rid 261543) by serhiy.storchaka on 2026-11-13 11:18:45:
- closedate changed to: "2461357.9713335303"
- closer changed to: "serhiy.storchaka"
- icomment:
Since Tcl 9.0, a negative length passed to Tcl_UniCharToUtfDString means that the string is converted up to the first null character, as in Tcl_UtfToUniCharDString.
- login: "serhiy.storchaka"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Fixed"
- status changed to: "Closed"