Stupid Python
Dec. 15th, 2007 04:41 pm![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
chymax$ python -V Python 2.5.1 chymax$ python -c 'print u"\xA9";' © chymax$ python -c 'print u"\xA9";' >/dev/null Traceback (most recent call last): File "<string>", line 1, inUnicodeEncodeError: 'ascii' codec can't encode character u'\xa9' in position 0: ordinal not in range(128) chymax$ locale LANG= LC_COLLATE="C" LC_CTYPE="en_GB.utf-8" LC_MESSAGES="C" LC_MONETARY="C" LC_NUMERIC="C" LC_TIME="C" LC_ALL="C/en_GB.utf-8/C/C/C/C"