Skip to content

yorknouse/latin1ToUTF8

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is this

This is a typescript script that aims at generating a migration to fix the mojibake in our DB past the conversion to utf8mb4.

How it works

The script uses pyodide to run python-ftfy in JS. It then iterates over DB rows and generates a migration script to alter the content of said rows removing the mojibake.

How to use

Ensure python-ftfy is submoduled correctly so that wheels can be built.

Build the wheels

  • cd python-ftfy && pip wheel .

Running

  • npm run start

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published