请问XE3里编码转换的有关问题
请教XE3里编码转换的问题
我用
A:=tencoding.GetEncoding(codepage);
txt:=A.getstring(byteof(txt));
能方便的将各种编码的字符串转为 unicode字符串
但用tencoding.convert将unicode字符串 转回其他编码就不成功。
请教XE3里怎么样简单的将unicode字符串 转换为指定codepage的字符串
------解决方案--------------------

------解决方案--------------------

------解决方案--------------------
接分。。。。
我用
A:=tencoding.GetEncoding(codepage);
txt:=A.getstring(byteof(txt));
能方便的将各种编码的字符串转为 unicode字符串
但用tencoding.convert将unicode字符串 转回其他编码就不成功。
请教XE3里怎么样简单的将unicode字符串 转换为指定codepage的字符串
------解决方案--------------------
------解决方案--------------------
------解决方案--------------------
接分。。。。