> What do you think? I see another alternative: invoke the Apple converters (assuming they exist). Then, these encodings would only be available on OS X, but that might be just sufficient.
Now, I'm not a CFString expert, but I would hope that the conversion would only be a few lines of C code which can be reviewed quickly. If that code cannot be contributed, I then prefer your option 3: make mac_getscript return the slightly incorrect codec names. It's better than returning "ascii" (which I think it should do, anyway, as a fallback). Regards, Martin _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com