Files
xkm-server/center_server_900/tools/build/conv_gbk_utf8.sh
2025-05-21 13:43:08 +08:00

13 lines
138 B
Bash
Executable File

#!/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