I would like to print a unicode\'s character code, and not the actual glyph it represents in Python.
For example, if u is a list of unicode characters:
u
For printing raw unicode data one only need specify the correct encoding:
>>> s = u'\u0103' >>> print s.encode('raw_unicode_escape') \u0103