Package: python3-ftfy
Source: python-ftfy
Version: 6.3.1-1
Architecture: all
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Debian Python Team <team+python@tracker.debian.org>
Installed-Size: 1125
Depends: python3-wcwidth, python3:any, libjs-sphinxdoc (>= 8.2)
Built-Using: sphinx (= 8.2.3-1ubuntu2)
Section: python
Priority: optional
Homepage: https://github.com/rspeer/python-ftfy
Description: Fixes mojibake and other Unicode text problems
 This library automatically repairs text that has been corrupted by misapplied
 character encodings, such as mojibake or other encoding-related issues. It
 analyzes strings to identify and correct cases where characters were
 incorrectly decoded, reconstructing the intended Unicode text. This includes
 fixing multiple layers of encoding errors, handling curly quote characters,
 and decoding HTML entities that are outside of proper HTML contexts, even with
 unusual capitalization. The library is designed to avoid making unnecessary or
 incorrect changes to text that is already correctly encoded. It helps restore
 text readability in content that has been malformed through various data
 handling and transfer processes, such as those involving databases,
 spreadsheets, or outputs from web sources. It does not attempt to detect
 encodings from scratch, but rather focuses on repairing commonly-encountered
 forms of corrupted Unicode text.
