修改gb2312网页编码为utf-8
修改gb2312网页编码为utf-8
find html/ -type f -name "*.html" | \
while read line
do
mkdir -p foo/dirname $line
/
iconv -f GB18030 -t UTF-8 $line 2>/dev/null | \
sed /charset=gb2312/'s/charset=gb2312/charset=utf-8/' \
> foo/$line
done