Delta symbol appears as a question mark

General TRichView support forum. Please post your questions here
Post Reply
ChristopheA
Posts: 7
Joined: Mon Jan 22, 2007 5:25 pm

Delta symbol appears as a question mark

Post by ChristopheA »

Hi there,

I have a RTF text that include a delta symbol (∆), when I try to display it in RichView I get a question mark (?)
any idea what is going on?

Thanks
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Please send this RTF file to me by e-mail
ChristopheA
Posts: 7
Joined: Mon Jan 22, 2007 5:25 pm

Post by ChristopheA »

Sorry to have bothered you, I found a solution.

For anyone with the same problem:

The text was using the Delta symbol from a Font (Arial I think), I changed it to a the Font (Symbol) things work now :)

Thanks

Regards

Christophe
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Ok. If Delta was from Arial font, and I guess it was inserted as Unicode character in RTF. So this character can be loaded correctly in 2 cases:
1) Language of this RTF file is Greek, and it will be loaded in GREEK_CHARSET
2) You can use Unicode, assigning RichView.RTFReadProperties.UnicodeMode to rvruOnlyUnicode or rvruMixed. In the former case, all text from RTF will be loaded as Unicode. In the latter case, only this Delta character (and characters like it) will be loaded as Unicode, the rest of text will be loaded as ANSI.
Post Reply