我用
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的字符串
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货