Hi:
I just tried from the evaluation installation, and build a simple application (C++ Builder Berlin) to open a simple RTF file.
Then all mid dots (\'B7) become question marks (as attached 1.png).
And I used RTF Viewer, WordPad (3.png), and Winword 2016 to open the same RTF file, all the mid dots are shown properly.
Even the built-in TRichEdit control can show the mid dots properly.
I tried to change all possible RTFReadProperties.UnicodeMode values and it still has the same problem...
The RTF file is also attached (1.rtf).
Any comment is appreciated~
Mid dot (\'B7) becomes Question Mark (?)
Mid dot (\'B7) becomes Question Mark (?)
- Attachments
-
- 1.rtf
- (9.71 KiB) Downloaded 1146 times
-
- 3.png (43.21 KiB) Viewed 13393 times
-
- 1.png (16.71 KiB) Viewed 13393 times
-
- Site Admin
- Posts: 17569
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: Mid dot (\'B7) becomes Question Mark (?)
I cannot reproduce this problem, but I think I know the reason.
This text is in old-style RTF list marker keyword (used in Microsoft Word prior to 97 and in RichEdit). As I can see in TRichView code, text in old-style RTF list markers is always converted to Unicode using the system default charset. I guess you have some Far East charset where #$B7 is not a dot.
I'll fix this problem in the next update.
This text is in old-style RTF list marker keyword (used in Microsoft Word prior to 97 and in RichEdit). As I can see in TRichView code, text in old-style RTF list markers is always converted to Unicode using the system default charset. I guess you have some Far East charset where #$B7 is not a dot.
I'll fix this problem in the next update.
Re: Mid dot (\'B7) becomes Question Mark (?)
Thanks~ I will look forward to the update.
-
- Site Admin
- Posts: 17569
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: Mid dot (\'B7) becomes Question Mark (?)
Fixed in TRichView 16.15.5