How do you extract hex value of a Unicode character ?

Posadas, Dennis dennis.posadas at
Thu Jul 15 05:03:06 CEST 2004

Hi All,

	If unichr(x), where x is a value like 0x4EEE will give you the
character as mapped in the Unicode tables, what is the
opposite of this command? In other words, how do I get the 0xABCD value
from the character itself ?

Dennis P
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list