Unicode digit to unicode string
Alexandre Fayolle
alf at merlin.fayauffre.org
Tue May 16 09:09:10 EDT 2006
Le 16-05-2006, Gabriele <darkbard at gmail.com> nous disait:
> Hi, I have a unicode digit stored into a variable ('0020' for example)
> and I'd like to retrieve the corrisponding unicode character based on
> the current encoding. How can i do that ?
use the unichr builtin function
--
Alexandre Fayolle LOGILAB, Paris (France)
Formations Python, Zope, Plone, Debian: http://www.logilab.fr/formations
Développement logiciel sur mesure: http://www.logilab.fr/services
Python et calcul scientifique: http://www.logilab.fr/science
More information about the Python-list
mailing list