BSD Ports

textproc/py-ftfy 6.3.1 DragonFly

Fix some problems with Unicode text after the fact

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MIT
Categories
python, textproc
Package size
56.5 KiB, 331.3 KiB installed

Description

ftfy: fixes text for you

ftfy fixes Unicode that's broken in various ways.

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.

In the other systems

SystemPortVersion
DragonFlytextproc/py-ftfy6.3.1
FreeBSDtextproc/py-ftfy6.3.1
NetBSDtextproc/py-ftfy6.3.1
MidnightBSDtextproc/py-ftfy6.3.1
HardenedBSDtextproc/py-ftfy6.3.1
GhostBSDtextproc/py-ftfy6.3.1

Install

Binary package:

pkg install py311-ftfy

From DPorts:

cd /usr/dports/textproc/py-ftfy && make install clean

Dependencies

Run dependencies 2

No port depends on this one.