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/2002-March/021201.html below:

[Python-Dev] PEP 263 - default encoding

[Python-Dev] PEP 263 - default encoding [Python-Dev] PEP 263 - default encodingPaul Prescod paul@prescod.net
Fri, 15 Mar 2002 09:31:19 -0800
"M.-A. Lemburg" wrote:
> 
>...
> 
> I have reworded the phase 1 implementation as follows:
> 
>     1. Implement the magic comment detection, but only apply the
>        detected encoding to Unicode literals in the source file.
> 
>        If no magic comment is used, Python should continue to
>        use the standard [raw-]unicode-escape codecs for Unicode
>        literals.

Are we thinking about Python's unicode literal syntax as just a codec? I
know that there is a codec that implements that syntax but I would hate
to find out that if I use KOI8-R, I no longer have the ability to use \U
in my code to insert Kanji.

 Paul Prescod



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