Overview
| Artifact ID: | 59ac37a71a0f3077e3f046ac71ce3b2b11562bfd |
|---|---|
| Ticket: | 584603ffffffffffffffffffffffffffffffffff
'encoding convertfrom' causes error messages |
| User & Date: | dgp on 2005-01-13 05:40:54 |
Changes
- icomment:
Logged In: YES user_id=80530 This is the ongoing confusion about what encoding requirements exist for the bytes found at objPtr->bytes . Originally, in Tcl 8.0, there were no requirements, as it was meant to be a counted string, with no constraints. After 8.1, slowly more and more parts of the core, including Tcl_Write*() started assuming the Tcl_Obj's passed to it had UTF-8 strings only at objPtr->bytes. [encoding convertfrom identity] is the only script level access remaining among the built-in Tcl commands that can create an objPtr->bytes that is not legal UTF-8. Bug 624919 covers similar issues. Might want to close this and redirect discussion there.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"