请教XE3里编码转换的问题
我用
A:=tencoding.GetEncoding(codepage);
txt:=A.getstring(byteof(txt));
能方便的将各种编码的字符串转为 unicode字符串
但用tencoding.convert将unicode字符串 转回其他编码就不成功。
请教XE3里怎么样简单的将unicode字符串 转换为指定codepage的字符串
[解决办法]
[解决办法]
接分。。。。
发布时间: 2013-09-06 10:17:17 作者: rapoo
请教XE3里编码转换的问题
我用
A:=tencoding.GetEncoding(codepage);
txt:=A.getstring(byteof(txt));
能方便的将各种编码的字符串转为 unicode字符串
但用tencoding.convert将unicode字符串 转回其他编码就不成功。
请教XE3里怎么样简单的将unicode字符串 转换为指定codepage的字符串
[解决办法]
[解决办法]
接分。。。。