how to put in order two different set of ascii string in python code example Example: convert \x unicode utf 8 bytes to \u python >>> '\xc5\x81'.decode('utf-8') u'\u0141'