Handling some isolated iso-8859-1 characters

Daniel Mahoney dan at catfolks.net
Wed Jun 4 08:48:09 EDT 2008


> ... 	print ord(c), unicodedata.name(c)
> ...
> 65 LATIN CAPITAL LETTER A
> 110 LATIN SMALL LETTER N
> 97 LATIN SMALL LETTER A
> 239 LATIN SMALL LETTER I WITH DIAERESIS
> 115 LATIN SMALL LETTER S

Looks like I need to explore the unicodedata class. Thanks!



More information about the Python-list mailing list