Files
xkm-server/center_server_900/tools/build/conv_gbk_utf8.sh

13 lines
138 B
Bash
Raw Normal View History

2025-05-20 15:31:00 +08:00
#!/bin/sh
if [ $# -lt 1 ];then
echo "Usage: conv_gbk_utf8.sh filePath"
exit 1
fi
iconv -f GB2312 -t UTF-8 $1 > $1_tmp
mv $1_tmp $1