Created
November 11, 2017 15:47
-
-
Save ivalentinee/3516e0b100d8286c9728c75daa90daf4 to your computer and use it in GitHub Desktop.
Convert subtitles coding system
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
FILES=*.srt | |
for f in $FILES | |
do | |
echo "Processing $f file..." | |
iconv -c -f WINDOWS-1251 -t UTF-8 "$f" -o "$f" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment