Skip to content

Instantly share code, notes, and snippets.

@lukaszx0
Created August 31, 2015 13:26
Show Gist options
  • Save lukaszx0/92a98714f2c73811fcd1 to your computer and use it in GitHub Desktop.
Save lukaszx0/92a98714f2c73811fcd1 to your computer and use it in GitHub Desktop.
Subtitles encoding converter
#/bin/bash
ICONV_CHARSET="$(enca -i -L polish $1)"
iconv -f $ICONV_CHARSET -t utf-8 < $1 > $2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment