Posted on 2001-09-16
Is there a bug in the RTF (I am using VB6, service pack 5) which is unsolveable?
I am using a special phonetic font. Normal alphabet characters are mapped to the normal keys; however, phonetic characters are assigned to other codes. Out of the entire phonetic font, there is one character which will not display properly.
Here is what I have tried to troubleshoot in a simple way:
1. I put a text box and a Rich Text Box on my form. Both have the font set for the special one I am using.
2. According to Windows Character Map, the troublesome character has a code of Alt+0140.
Using the numeric key pad, I enter this code.
3. The text box displays the correct character, while the RTF shows a capital R.
4. If I use the Windows Character Map to select and copy, it can be pasted into the RTF without a problem.
5. If I try to code the character in VB and then paste it in the RTF box, I still get the capital R.
6. I have also noticed that if I try the above procedures in WordPad, I get the same result; however, there is no problem in Microsoft Word 97 or WordPerfect 9.
What exactly is Windows Character Map doing differently so that there is no problem here?
Is there any workaround what appears to be a RTF problem? Again, there is only one character which will not display properly out of the entire font.