André Malo wrote: >> While on Windows: >> - underlying OS API uses Unicode >> - Unicode API just passes values straight through >> - binary API uses the system encoding to decode bytes names and values >> to be passed to the OS API and to encode Unicode names and values >> received from the OS API > > Now that is somewhat strange. That way you'll have two unreliable APIs and > need to switch depending on the platform again.
Sory, system encoding was probably a poor choice of words there, since that generally means mbcs when talking about windows (which would indeed be a very poor choice of encoding). For binary wrappers around the Windows Unicode APIs, I was thinking specifically of using UTF-8, since that should be able to encode anything the Unicode APIs can handle. Cheers, Nick. -- Nick Coghlan | [EMAIL PROTECTED] | Brisbane, Australia --------------------------------------------------------------- _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com