Created
December 19, 2016 04:39
-
-
Save juice500ml/c64943e05cdd995a31ea5d297c5005b8 to your computer and use it in GitHub Desktop.
converts current folder files from euc-kr to utf-8
This file contains 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
for i in * | |
do | |
if $( file -i "${i}"|grep -q iso-8859-1 ); then | |
iconv -f euc-kr -t utf-8 "$i" -o "out/${i}" | |
fi | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment