Overview
| Artifact ID: | 2fad984e000e42c7b3825d21b6ef759c2a138a97 |
|---|---|
| Ticket: | 956433ffffffffffffffffffffffffffffffffff
[glob] fails conversion to internal encoding |
| User & Date: | das on 2004-05-19 23:00:10 |
Changes
- icomment:
Logged In: YES user_id=90580 indeed, this is a syptom of bug 823330: tcl does not know about unicode normalization, in particular how to deal with decomposed unicode, which is the system encoding on Mac OS X, i.e. the encoding used by the posix API to communicate with the filesystem: Composed unicode input to the filesystem will return as decomposed unicode on Mac OS X. My proposed solution is for the system encoding on OSX to compose all input before passing it higher up. Unfortunately, composing utf8 (as oppposed to utf32) is non trivial in a stream interface as needed for a tcl encoding... My effort to implement this has currently stalled, somebody else is most welcome to have a go; otherwise I'll get back to it at some point, it's on the todo list... It might be worthwile for somebody to devise a general solution to how tcl deals with unicode normlizatoin, including all normalization forms, not just NFC and NFD like we need in this context.
- login: "das"
- mimetype: "text/plain"
- username: "das"