[Python-3000] struni and the Apple four-character-codes (original) (raw)
Greg Ewing greg.ewing at canterbury.ac.nz
Sat Jul 28 03:19:44 CEST 2007
- Previous message: [Python-3000] struni and the Apple four-character-codes
- Next message: [Python-3000] struni and the Apple four-character-codes
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Guido van Rossum wrote:
We could use Unicode strings where in the past we used 8-bit strings, but that would be somewhat nasty when there's ever one of these codes that's not pure ASCII
Since this is a Mac-specific thing (and Classic-originated at that), I think you can be pretty sure that any non-ASCII value is to be interpreted according to the Macintosh character set, if it's meant to be a character at all.
So I would suggest using the Macintosh encoding when converting these to and from unicode.
-- Greg
- Previous message: [Python-3000] struni and the Apple four-character-codes
- Next message: [Python-3000] struni and the Apple four-character-codes
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]