UTF-8 in source code (Re: [Python-Dev] Internationalization Toolkit)
M.-A. Lemburg
mal@lemburg.com
Thu, 18 Nov 1999 19:38:41 +0100
Would this definition be fine ?
"""
u = ur'<raw-unicode-escape encoded Python string>'
The 'raw-unicode-escape' encoding is defined as follows:
· \uXXXX sequence represent the U+XXXX Unicode character if and
only if the number of leading backslashes is odd
· all other characters represent themselves as Unicode ordinal
(e.g. 'b' -> U+0062)
"""
--
Marc-Andre Lemburg
______________________________________________________________________
Y2000: 43 days left
Business: http://www.lemburg.com/
Python Pages: http://www.lemburg.com/python/