The following piece of RTF is similar with the RTF some users saved here and there in the last decade using a delphi application via a custom wordpad like little app (modeled after a sample that came with Delphi) that uses the trichedit control. The application has been implemented in Delphi 7 and it run on XP and windows 7.
I saved the rtf snippet to an rtf file and When I open it in word or wordpad, they show symbol characters instead of the text. In my mind, it makes sense since the fcharset used is 2, which is Symbol.
{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fcharset2 SansSerif;}{\f1\fnil\fcharset0 Calibri;}}
{\*\generator Msftedit 5.41.21.2510;}\viewkind4\uc1\pard\sa200\sl276\slmult1\lang9\f0\fs22 Line 1\f1\par
}
I looked at a few instances of RTF documents saved in the application, where fcharset2 was used and I have seen the following patterns: fcharset2 SansSerif, fcharset2 Symbol and fcharset2 Romantic. fcharset2 Symbol makes sense for me, it is used for list bullets, for instance.
What I don't understand, hence my posting, is how did fcharset2 Romantic get into the rtf, for instance? I assume that some user had a font called Romantic, he/she typed the text, highlighted it and changed the font to Romantic. But why did the rich edit control save fcharset2 instead of fcharset0?
Thanks