lipnyCzlowiek / craptitles

A little Node.js script for replacing characters in text files.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool



CRAPTITLES - Fix crappy subtitles easily

Little script for replacing characters in text files. Created to fix subtitle files in directory. By fix I mean find all the special characters that my TV won't display properly and replace them with provided substitutions.

Character pairs (bad - good characters) are to be set in the config.txt file like this:

ąśź // Bad characters

asz // Good characters

First character on the first line will be replaced with first character on the second line ('ą' => 'a'), second character on first line with second character on second line and so on.

About

A little Node.js script for replacing characters in text files.


Languages

Language:JavaScript 100.0%