A RetroSearch Logo

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

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2014-January/131160.html below:

[Python-Dev] Python3 "complexity"

[Python-Dev] Python3 "complexity" [Python-Dev] Python3 "complexity"Serhiy Storchaka storchaka at gmail.com
Fri Jan 10 19:52:18 CET 2014
10.01.14 18:27, Baptiste Carvello написав(ла):
> would it make sense to be more general, and allow a "lenient mode",
> where all files implicitly opened with the default encoding would also
> use the surrogateescape error handler ?

The surrogateescape error handler is compatible only with 
ASCII-compatible encodings (i.e. no ShiftJIS, no UTF-16). It can't be 
used by default. But you can set PYTHONIOENCODING=:surrogateescape and 
got you default locale encoding with surrogateescape.


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