Why Delphi IBX TWideMemoField converts byte order in UTF8 string and how to avoid it?

自古美人都是妖i 提交于 2019-12-02 08:24:07

Your text is not encoded as UTF8, it is encoded as UTF16. The character Ц is U+0426. And by convention the 16 bit code unit is being stored in little endian byte order, $26 $04.

In other words, everything is behaving as expected and as designed and I can see no need for you to try to fix anything because nothing is broken.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!