[Pythonmac-SIG] Unicode Filenames on the Mac

Nick Matsakis matsakis at mit.edu
Thu Jul 14 21:17:37 CEST 2005


On Wed, 13 Jul 2005, Bob Ippolito wrote:

> HFS actually uses UTF-16 internally, but the POSIX layer is UTF-8.
> It will bite you if you expect the code to work on other platforms.
> Not all platforms use UTF-8 for their filesystem encoding.

I don't care about other platforms, but I assume from your message that
sending 'unicode' strings to system modules is safe (and a best practice
too?).

Nick


More information about the Pythonmac-SIG mailing list