Overview
| Artifact ID: | 62116b3af716ccd78583ae3de8fc856d43aca1de |
|---|---|
| Ticket: | 768852ffffffffffffffffffffffffffffffffff
binary format a* $utf8_string - needs u/U |
| User & Date: | dkf on 2004-06-16 05:21:23 |
Changes
- assignee changed to: "dkf"
- icomment:
Logged In: YES user_id=79902 Reevaluating this FRQ indicates that the original code should never have worked, but the following should: set tmp [encoding convertto utf-8 $foo] set tmp [binary format a* $tmp] set bar [encoding convertfrom utf-8 $tmp] Following this, $foo and $bar should be identical, and this will hold true for any encoding instead of utf-8 as long as all the characters in $foo are representable within that encoding. Given that, I've updated the docs to be clearer and contain an example that shows the handling of non-ASCII data. Future problems are now "pilot error"...
- login: "dkf"
- mimetype: "text/plain"
- resolution changed to: "Rejected"
- username: "dkf"