for file in *.cpp; do iconv --from-code=gb2312 --to-code=utf-8 $file > $file.utf8; mv $file.utf8 $file; donefor file in *.h; do iconv --from-code=gb2312 --to-code=utf-8 $file > $file.utf8; mv $file.utf8 $file; done