WPCubed Product Support

TWPRichText shows UTF8 start codes when LoadFromFile is used

I would like to display a UTF-8 text file in a TWPRichText control by using its LoadFromFile method. When I do that the UTF-8 start codes are displayed before the actual text starts. This looks awkward.

How can I hide these start codes?

Regards,

Dirk.

#1 ♥ 0
5.7k Views 2 users read 1 min
support

Can You send your file to me?

Right now WPTools has only the ANSI reader, it does not do UTF8. (Except for the HTML reader)

#2 ♥ 0

I emailed a sample including the file to you.

#3 ♥ 0
support

I posted a new build. The new version can now load UTF8 with start markers (not only your file but also text with i.e. thai language) and also write UTF8. For the latter it is required to use the format string "ANSI-utf8"

#4 ♥ 0
This category is archived. No new posts are possible.