On Feb 26, 2014, at 09:21 PM, Mark Sapiro wrote: >You have to put/or enable something in sitecustomize.py (On Ubuntu a symlink >to /etc/python2.7/sitecustomize.py) to get it to use the locale.
Have you changed your sitecustomize.py file? You're right that sys.getdefaultencoding() gets initialized to 'ascii' everywhere for Python 2.7. The default site.py doesn't change that (even on Ubuntu), and then it deletes sys.setdefaultencoding, so it's not possible to change that after initialization. How are you getting sys.getdefaultencoding() to return 'UTF-8'? -Barry _______________________________________________ Mailman-Developers mailing list [email protected] https://mail.python.org/mailman/listinfo/mailman-developers Mailman FAQ: http://wiki.list.org/x/AgA3 Searchable Archives: http://www.mail-archive.com/mailman-developers%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-developers/archive%40jab.org Security Policy: http://wiki.list.org/x/QIA9
