Message216009
$ LC_ALL=en_US.iso88591 ./python -c "print('\u20ac')"
Traceback (most recent call last):
File "<string>", line 1, in <module>
UnicodeEncodeError: 'latin-1' codec can't encode character '\u20ac' in position 0: ordinal not in range(256)
$ LC_ALL=en_US.iso88591 ./python -c "input('\u20ac')"
Traceback (most recent call last):
File "<string>", line 1, in <module>
UnicodeEncodeError: 'latin-1' codec can't encode character '\u20ac' in position 0: ordinal not in range(256)
$ LC_ALL=en_US.iso88591 ./python -c "import getpass; getpass.getpass('\u20ac')"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/serhiy/py/cpython/Lib/getpass.py", line 78, in unix_getpass
passwd = _raw_input(prompt, stream, input=input)
File "/home/serhiy/py/cpython/Lib/getpass.py", line 138, in _raw_input
stream.write(prompt)
UnicodeEncodeError: 'latin-1' codec can't encode character '\u20ac' in position 0: ordinal not in range(256) |
|
Date |
User |
Action |
Args |
2014-04-13 10:10:10 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, loewis, Arfrever, r.david.murray, kushal.das |
2014-04-13 10:10:10 | serhiy.storchaka | set | messageid: <1397383810.31.0.556966037758.issue21169@psf.upfronthosting.co.za> |
2014-04-13 10:10:10 | serhiy.storchaka | link | issue21169 messages |
2014-04-13 10:10:10 | serhiy.storchaka | create | |
|