-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
It should be included by default:
% /opt/local/bin/python Python 2.4.3 (#1, May 3 2006, 17:21:42) [GCC 4.0.1 (Apple Computer, Inc. build 5247)] on darwin Type "help", "copyright", "credits" or "license" for more information.
import locale locale.getpreferredencoding() 'mac-roman' ^D
Mine is not: % /opt/local/bin/python Python 2.4.3 (#1, Oct 5 2006, 01:31:24) [GCC 4.0.1 (Apple Computer, Inc. build 5341)] on darwin Type "help", "copyright", "credits" or "license" for more information.
import locale locale.getpreferredencoding() Traceback (most recent call last): File "<stdin>", line 1, in ? File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/ lib/python2.4/locale.py", line 399, in getpreferredencoding import _locale ImportError: No module named _locale ^D
Did you select any variant? Dominik -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) iD8DBQFFMRvmHdd69ytuKIwRAiX1AJ99rTD93qxGoAms2rBSP/hcUEuznQCgiicq VdCSJqvz7MgrYftVGRYYP9c= =nwsP -----END PGP SIGNATURE-----