[Python-Dev] Non-ASCII characters in test_pep277.py in 2.3
Guido van Rossum
Sun, 06 Oct 2002 18:18:55 -0400
The file pep_2777.py uses an encoding cookie that specifies UTF-8.
Unfortunately my toolchain doesn't know about this, and displays it as
Latin-1. Since the only UTF-8 is in 8-bit string literals (not
Unicode literals), wouldn't it make more sense to drop the encoding
cookie and use \xXX escapes in those literals? I'm not even sure this
use is legal in phase 2 of PEP 263.
--Guido van Rossum (home page: http://www.python.org/~guido/)