What unicode character has a certain value?

DogWalker forestiero at qwest.net
Tue Jul 23 18:29:41 EDT 2002


How would I convert the value of a unicode character to a unicode string; a
unicode string to an ascii string (if possible); a unicode character to a
decimal number.

If I have the decimal value for a unicode character, how do I convert it to
a unicode character?  A unicode apostrophe has a decimal value of 8217. How
do I get a string with an apostrophe starting with 8217?

   x = 8217
   s = ??x




More information about the Python-list mailing list