[Python-Dev] PEP 263 - default encoding (original) (raw)
Paul Prescod paul@prescod.net
Fri, 15 Mar 2002 09:31:19 -0800
- Previous message: [Python-Dev] PEP 263 - default encoding
- Next message: [Python-Dev] PEP 263 - default encoding
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
"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
- Previous message: [Python-Dev] PEP 263 - default encoding
- Next message: [Python-Dev] PEP 263 - default encoding
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]