XML and Unicode (UTF-8)

General TRichView support forum. Please post your questions here
Post Reply
Ru55
Posts: 2
Joined: Fri Aug 31, 2007 9:00 am

XML and Unicode (UTF-8)

Post by Ru55 »

Hello!
I've searched through all the forum and still cannot find the answer to my question. The question is the following: How can I load Unicode [UTF-8] text into RichView, using RichViewXML.

Sergey, could you please give me an example or some directions?

Thanks in advance!
Sergey Tkachenko
Site Admin
Posts: 17559
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

RichViewXML can load only XML files saved by RichViewXML (or compatible).
Ru55
Posts: 2
Joined: Fri Aug 31, 2007 9:00 am

Post by Ru55 »

While loading the following XML using LoadFromFile()

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<book>
  <document>
    <text textstyle="Heading">Čč</text>
  </document>
</book>
I got "??" in RichView! How can I handle with this?
Post Reply