Barry Alan Scott added the comment:

Mac OS X use the __CF_USER_TEXT_ENCODING env var to setup the locale in for 
native libraries.

I found that for GUI python code I needed to convert the value in 
__CF_USER_TEXT_ENCODING into a suitable call to setlocale().

The code I use is attached to Issue23797.

----------
nosy: +barry-scott

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue18378>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to