unicode numerical code and get the actual symbol back in utf-8.
For example, a user could enter something like u221E
And get back $B!g(B
Now, this does seem to work:
$B!g(B>>print u"\u221E"
However how can I change it so it works with a string variable?
print unicode("\u221E") doesn't seem to do it.
I hope this makes sense. I don't know all the unicode terminology to
phrase this question coherently ;-)
Thanks in advance,
Greg