subtitles-fixer
Simple script to:
- convert encoding to UTF-8
- convert line endings to UNIX standard
- fix broken characters
Configuration
You can place your own map in characters section of config.yaml file.
Default configuration includes polish characters.
When run in terminal, script lists all characters found in the subtitles file that are not in ASCII or ignored list.
Usage
$ python3 /path/to/subtitles-fixer.py /path/to/subtitles.ext
Bonus
Nemo action for context menu. Place fix-subtitles.nemo_action in ~/.local/share/nemo/actions/, provide absolute path to subtitles-fixer.py file and restart nemo.
To do
- Translation?
Description
Languages
Python
100%