The hex string '\xd3'
can also be represented as: Ó
.
The easiest way I've found to get the character representation of the hex string to the console is:
print unichr(ord('\xd3'))
Or in English, convert the hex string to a number, then convert that number to a unicode code point, then finally output that to the screen. This seems like an extra step. Is there an easier way?
u
a function? Can we writeu(some_string)
? – Seventh