导航:
论坛 -> DELPHI技术
斑竹:liumazi,sephil
作者:
2014/11/22 13:02:14
标题:
遇到错误No mapping for the Unicode character exists in the target multi-byte code page
浏览:1489
加入我的收藏
楼主:
我在XE6里用tencoding处理这个utf8的网页 http://www.jiukuaiyou.com/deal/75820573 的源码时。 出现错误“No mapping for the Unicode character exists in the target multi-byte code page” 导致不能正确显示内容。 直接用UTF8Decode则会出现一些乱码字符。 但浏览器都能正常显示。 请教该如何解决此问题。
----------------------------------------------
-
作者:
2014/11/22 13:03:15
1楼:
tiduri
----------------------------------------------
(C)(P)Flying Wang
作者:
2014/11/22 14:06:15
2楼:
用winAPI解决了。 delphi的tencoding没有容错性啊,如果能多个选项,正常的部分继续处理就好了。
----------------------------------------------
-
作者:
2016/1/2 20:51:22
3楼:
如何解决呢?
----------------------------------------------
-