convert files to utf8
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.srt
README.md
a.srt
a.srt_output
a_out.srt
convert.py
requirements.txt
srt_convert.sh

README.md

convert

convert files to utf8

on MacOS:

brew install libmagic

pip3 install filemagic

to run it:

./convert.py a.srt

the output file will be a.srt_output

==============================

bash version

on ubuntu:

apt-get install iconv

./srt_convert.sh a.srt

the output file will be a_out.srt