Unicode digit to unicode string

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Gabriele *darkbard* Farina

    #1

    Unicode digit to unicode string

    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 ?

  • Alexandre Fayolle

    #2
    Re: Unicode digit to unicode string

    Le 16-05-2006, Gabriele <darkbard@gmail .com> nous disait:[color=blue]
    > 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 ?[/color]

    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

    Comment

    • Gabriele *darkbard* Farina

      #3
      Re: Unicode digit to unicode string

      thank you, bye

      Comment

      Working...