Ronald Oussoren <[email protected]> added the comment: This patch solves the immediate failure:
Index: Lib/locale.py
===================================================================
--- Lib/locale.py (revision 85743)
+++ Lib/locale.py (working copy)
@@ -396,6 +396,9 @@
else:
encoding = defenc
#print 'found encoding %r' % encoding
+ if sys.platform == 'darwin' and encoding == 'UTF8':
+ encoding = 'UTF-8'
+
if encoding:
return langname + '.' + encoding
else:
I'm not happy about hardcoding this specific exception though, there should be
a better solution than this.
Ronald
----------
Added file: http://bugs.python.org/file19300/smime.p7s
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue10154>
_______________________________________
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
