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.

s = 'It was namedÃ\x82Â\xa0âÂ\x80Â\x9escarsÃ\x82´ stonesâÂ\x80Â\x9c after the rock-climbers who got hurt while climbing on it.'
s = s.encode('latin-1')
s = s.decode('utf-8')
s = s.encode('latin-1')
s = s.decode('utf-8')
print(s)

Examples

Web app source code on GitHub