ftfy - fix unicode that's broken in various ways

Paste in some unicode text that appears to be broken and this tool will use the ftfy Python library to try and fix it.

from ftfy.fixes import restore_byte_a0
s = 'Hi guys Ã\xad ½Ã\xad¸Â\x8d'
s = s.encode('latin-1')
s = s.decode('utf-8')
s = s.encode('latin-1')
s = restore_byte_a0(s)
s = s.decode('utf-8-variants')


Web app source code on GitHub