Closed GoogleCodeExporter closed 9 years ago
[deleted comment]
[deleted comment]
认真看了你的 python 部分,我用 iconv 替换了这个部分
TITLE_ENCODING() {
DATA=`echo "$@" | iconv -f UTF-8 -t ISO-8859-1 2>/dev/null`
[ "$?" == "0" ] && {
DATA=`echo "$DATA" | iconv -f GBK -t UTF-8 2>/dev/null`
[ "$?" == "0" ] && {
echo "$DATA"
return 0
}
}
DATA=`echo "$@" | iconv -f UTF-8 -t GBK`
[ "$?" == "0" ] && {
DATA=`echo "$DATA" | iconv -f UTF-8 -t UTF-8 2>/dev/null`
[ "$?" == "0" ] && {
echo "$DATA"
return 0
}
}
echo "$@"
}
Original comment by ptpt52
on 3 Apr 2010 at 10:55
嗯,感觉上是没问题的,我测试测试吧。不过个人认为python��
�该是不大会有兼容性问题的,现在即便是很精简的系统
也有Python。
Original comment by cxcxcxcx@gmail.com
on 4 Apr 2010 at 2:16
还是去掉python的依赖为好。
Original comment by bones7...@gmail.com
on 19 May 2010 at 9:04
Original issue reported on code.google.com by
ptpt52
on 3 Apr 2010 at 10:10Attachments: