Created
August 13, 2014 16:27
-
-
Save toshihikoyanase/e8c30a340e5d5fd7ac44 to your computer and use it in GitHub Desktop.
http://nlftp.mlit.go.jp/isj/ to utf8
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
mkdir tmp | |
for f in *b.zip | |
do | |
echo $f | |
pushd tmp | |
unzip ../$f | |
popd | |
done | |
mkdir utf8 | |
for i in $(seq -w 1 47) | |
do | |
iconv -f shift-jis -t utf-8 ./tmp/${i}_2012.csv > ./utf8/${i}_2012.csv | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment