I was reading the PEP 263 and I got stuck on this paragraph:
In Python 2.1, Unicode literals can only be written using the Latin-1 based encoding "unicode-escape". This makes the programming environment rather unfriendly to Python users who live and work in non-Latin-1 locales such as many of the Asian countries. Programmers can write their 8-bit strings using the favorite encoding, but are bound to the "unicode-escape" encoding for Unicode literals.
What does "unicode-escape" mean? How did people from asia wrote python files? Can someone show me how they wrote python source code before python 2.3? I just can't get why PEP 263 was introduced: i installed on my machine python 2.1.3 and I launched python cod.py
where cod.py
is a file encoded in utf-8 and all just worked fine.