3 ms·
It's not even latin-written-languages-centric. Something like a quarter of mojibake I find in the wild is in Cyrillic. ftfy does Cyrillic. >>> ftfy.fix_tex
by rspeer 12y ago
It's not even latin-written-languages-centric. Something like a quarter of mojibake I find in the wild is in Cyrillic. ftfy does Cyrillic.
>>> ftfy.fix_text("РґРѕСЂРѕРіРµ РР·-РїРѕРґ #футбол")
'дороге Из-под #футбол'
I've even fixed a bug that occurred in Ukrainian, based on automatic testing.