Skip to content
Sections
>> Trisquel >> Packages >> xolotl (13.0) >> python >> python3-ftfy
[  xolotl  ]
[ Source: python-ftfy  ]

Package: python3-ftfy (6.3.1-1)

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.

Other Packages Related to python3-ftfy

  • depends
  • recommends
  • suggests
  • dep: libjs-sphinxdoc (>= 8.2)
    JavaScript support for Sphinx documentation
  • dep: python3
    interactive high-level object-oriented language (default python3 version)
  • dep: python3-wcwidth
    determine printable width of a string on a terminal

Download python3-ftfy

Download for all available architectures
Architecture Package Size Installed Size Files
all 276.0 kB1125 kB [list of files]