ftfy fixes Unicode that's broken in various ways. It works in Python 2.7, Python 3.2, or later.
The goal of ftfy is to take in bad Unicode and output good Unicode, for use in your Unicode-aware code. This is different from taking in non-Unicode and outputting Unicode, which is not a goal of ftfy. It also isn't designed to protect you from having to write Unicode-aware code. ftfy helps those who help themselves.
Of course you're better off if your input is decoded properly and has no glitches. But you often don't have any control over your input; it's someone else's mistake, but it's your problem now.
ftfy will do everything it can to fix the problem.
1 month, 1 week ago passed
.. image:: http://readthedocs.org/projects/ftfy/badge/?version=latest :target: https://ftfy.readthedocs.io/en/latest/?badge=latest :alt: Documentation Status
<a href='https://ftfy.readthedocs.io/en/latest/?badge=latest'> <img src='http://readthedocs.org/projects/ftfy/badge/?version=latest' alt='Documentation Status' /> </a>
Project Privacy Level