Paste in some unicode text that appears to be broken and this tool will use the ftfy Python library to try and fix it.
s = 'I just figured out how to tweet emojis! âÂ\x9a½Ã\xadÂ\xa0½Ã\xad¸Â\x80Ã\xadÂ\xa0½Ã\xad¸Â\x81Ã\xadÂ\xa0½Ã\xad¸Â\x82Ã\xadÂ\xa0½Ã\xad¸Â\x86Ã\xadÂ\xa0½Ã\xad¸Â\x8eÃ\xadÂ\xa0½Ã\xad¸Â\x8eÃ\xadÂ\xa0½Ã\xad¸Â\x8eÃ\xadÂ\xa0½Ã\xad¸Â\x8e' s = s.encode('latin-1') s = s.decode('utf-8') s = s.encode('latin-1') s = s.decode('utf-8-variants') print(s)
Web app source code on GitHub