Skip to content

Instantly share code, notes, and snippets.

@AdamStelmaszczyk
Last active February 14, 2018 19:28
Show Gist options
  • Save AdamStelmaszczyk/1c780be1e2bd45f9d9b302a7e65fa1b9 to your computer and use it in GitHub Desktop.
Save AdamStelmaszczyk/1c780be1e2bd45f9d9b302a7e65fa1b9 to your computer and use it in GitHub Desktop.
To have Polish characters in subtitles
Usually the encoding is "MS-Windows code page 1250", but we want UTF-8.
sudo apt-get install enca
enconv -L polish -x utf8 subtitles.srt
To check file encoding use -m:
enconv -L polish -m subtitles.srt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment