Skip to content

wolfgang42/ftfyweb

Repository files navigation

A simple wrapper around the Python ftfy (“fixes text for you”) library, which attempts to decode mojibake into what it's actually intended to mean.

Setup

virtualenv -ppython3 venv
./venv/bin/pip3 install -r requirements.txt
./venv/bin/python3 -m bottle --debug --reload index

Testing

Smoke tests to make sure we seem to be doing the right thing:

python3 ./test.py localhost:8080