Created
March 30, 2021 14:40
-
-
Save gokaybiz/4d95a5b6eb4f590d75f771426a64adb7 to your computer and use it in GitHub Desktop.
Change encodings of old windows files to utf-8 without unreadable characters. This will be day saver for old subtitles. windows-1254 => Turkish Windows Encoding
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
$ find . -name '*.txt' -exec iconv --verbose -f windows-1254 -t utf-8 -o {} {} \; | |
$ find . -name '*.srt' -exec iconv --verbose -f windows-1254 -t utf-8 -o {} {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment