[Python-Dev] Python 3.0.1 (io-in-c) (original) (raw)
"Martin v. Löwis" martin at v.loewis.de
Wed Jan 28 19:01:27 CET 2009
- Previous message: [Python-Dev] Python 3.0.1 (io-in-c)
- Next message: [Python-Dev] Python 3.0.1 (io-in-c)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
print(open("a1").read()) Traceback (most recent call last): File "", line 1, in File "D:\Apps\Python30\lib\io.py", line 1491, in write b = encoder.encode(s) File "D:\Apps\Python30\lib\encodings\cp850.py", line 19, in encode return codecs.charmapencode(input,self.errors,encodingmap)[0] UnicodeEncodeError: 'charmap' codec can't encode character '\u0153' in position 1: character maps to
Looks right to me.
Martin
- Previous message: [Python-Dev] Python 3.0.1 (io-in-c)
- Next message: [Python-Dev] Python 3.0.1 (io-in-c)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]