Skip to content

Instantly share code, notes, and snippets.

@malev
Last active August 29, 2015 13:56
Show Gist options
  • Save malev/9197257 to your computer and use it in GitHub Desktop.
Save malev/9197257 to your computer and use it in GitHub Desktop.
Convert encoding
for file in *.txt; do
iconv -f ISO-8859-1 -t utf-8 "$file" > "${file%.txt}.utf8.txt"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment