python convert xd8 to utf8 code example Example: python convert xd8 to utf8 result = string.decode('unicode-escape').encode('latin1').decode('utf-8')