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.

import ftfy.bad_codecs  # enables sloppy- codecs
s = 'Ð\xa0Ò\x91Ð\xa0Ñ\x95СÐ\x82Ð\xa0Ñ\x95Ð\xa0Ñ\x96Ð\xa0µ Ð\xa0Â\x98Ð\xa0·-Ð\xa0Ñ\x97Ð\xa0Ñ\x95Ð\xa0Ò\x91'
s = s.encode('latin-1')
s = s.decode('utf-8')
s = s.encode('sloppy-windows-1251')
s = s.decode('utf-8')
print(s)

Examples

Web app source code on GitHub