[Python-3000] PEP 3138- String representation in Python 3000
"Martin v. Löwis"
martin at v.loewis.de
Sat May 24 21:20:57 CEST 2008
> The nice thing about hex-escaped characters is that I can look up the
> character code to find out what the character is. Hard to do that
> with a glyph that I don't recognize.
Not that difficult. Suppose I have the character Ә, I just do
py> unicodedata.name(u"Ә")
'CYRILLIC CAPITAL LETTER SCHWA'
I used cut-n-paste to insert the character into the interactive prompt;
that worked just fine.
Regards,
Martin
More information about the Python-3000
mailing list