Skip to content

Instantly share code, notes, and snippets.

@brunoluiz
Last active November 28, 2016 01:34
Show Gist options
  • Save brunoluiz/cf0f0609c5068e28b2250b7ac02ab5e3 to your computer and use it in GitHub Desktop.
Save brunoluiz/cf0f0609c5068e28b2250b7ac02ab5e3 to your computer and use it in GitHub Desktop.
Convert Windows encoding to UTF-8 on MAC/Linux
for file in *; do
iconv -f iso-8859-1 -t utf-8 $file > $file.new
mv $file.new $file
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment