ftfy v5.9

Version Release Notes from February 10, 2021 (almost 5 years ago)


ftfy v5.9 Release Notes

Release Date: 2021年02月10日 // almost 5 years ago
  • This version is brought to you by the letter à and the number 0xC3.

    • 👉 Tweaked the heuristic to decode, for example, "Ã " as the letter "à" more often.

    • This combines with the non-breaking-space fixer to decode "Ã " as "à" as well. However, in many cases, the text " Ã " was intended to be " à ", preserving the space -- the underlying mojibake had two spaces after it, but the Web coalesced them into one. We detect this case based on common French and Portuguese words, and preserve the space when it appears intended.

    Thanks to @zehavoc for bringing to my attention how common this case is.

    • ⚡️ Updated the data file of Unicode character categories to Unicode 13, as used in Python 3.9. (No matter what version of Python you're on, ftfy uses the same data.)
Awesome Python is part of the LibHunt network. Terms. Privacy Policy.

(CC)
BY-SA
We recommend Spin The Wheel Of Names for a cryptographically secure random name picker.

AltStyle によって変換されたページ (->オリジナル) /