A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2009-January/085610.html below:

[Python-Dev] Python 3.0.1 (io-in-c)

[Python-Dev] Python 3.0.1 (io-in-c) [Python-Dev] Python 3.0.1 (io-in-c)"Martin v. Löwis" martin at v.loewis.de
Wed Jan 28 19:01:27 CET 2009
>>>> print(open("a1").read())
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   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.charmap_encode(input,self.errors,encoding_map)[0]
> UnicodeEncodeError: 'charmap' codec can't encode character '\u0153' in
> position 1: character maps to <undefined>

Looks right to me.

Martin
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4