Cannot display Russian text within TMemo
Posted on 2006-11-25
Hi, wonder if anyone can help here.
I have an application which has cause to read russian text from an Access database and display it in a TMemo.
I can successfully paste the Russian text into the database, but it always displays as question marks (Ie: настольный displays as ???????????).
Also, when I paste the text into the Lines property of the TMemo component at design time, it pastes in okay, but as soon as I close the Lines input box, it again displays as question marks.
I have set the TMemo Font.Charset property to RUSSIAN_CHARSET and installed a Cyrillic font and set the Font.Name property to that font.
I am probably missing something really simple, but it's driving me nuts, and doing a Google on it brings back many entries where the response is 'you need to use a cyrillic font'. As far as I can see, I have done that, but it just ain't working for me.
Hope somebody can help. This is really holding me back, so I am giving loads of points away for a swift resolution to the issue.
Thanks in advance.