2007-03-31から1日間の記事一覧

shift_jisなhtmlをutf-8へ

cmd

やっつけ $ find . -type f -name ?*.html |perl -nle '`iconv -f SHIFT_JIS -t UTF-8 $_>$_.buf`;' $ perl -p -i.html -e 's/(x-sjis|Shift_JIS)/utf-8/g;' *.buf $ find . -type f -name ?*.html | xargs rm $ find . -type f -name ?*.buf |perl -nle '$f…