 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
XCalibur Guest
|
Posted: Sat May 12, 2007 4:18 am Post subject: Displaying Non-English Characters in a TMemo |
|
|
Hi,
I've changed the CHARSET of the TFont property in a TMemo control to the
appropriate charset (Cyrilic) but I still does not display the letters
properly.
I pasted some tex and all it displays is "?????" I tried the same in
Notepad and it displays them perfectly. I just pasted the text. Didn't
change anyting.
I have a Form1 and a Memo1. I press F9 to run the program, I paste some
Cyrilic text and I get "?????" :(
How can I make it so it shows non-english chars?
Thanks |
|
| Back to top |
|
 |
Vladimir Stefanovic Guest
|
Posted: Sat May 12, 2007 4:40 pm Post subject: Re: Displaying Non-English Characters in a TMemo |
|
|
| Quote: | How can I make it so it shows non-english chars?
|
VCL & it's components are not Unicode based, and that's
the major problem. I suggest you to look for some 3rd party
Unicode controls for that.
If it's a questions of cyrillic language, one way of doing that
is:
Control Panel > Regional and Language Options > Advanced
[select desired Cyrillic language, like Serbian (Latin) ]
OK to load from HD, OK to restart.
P.S.
NotePad (AFAIK), like MS Word emulates code pages, do it's
a completey different story.
--
Best Regards,
Vladimir Stefanovic |
|
| Back to top |
|
 |
XCalibur Guest
|
Posted: Sat May 12, 2007 5:15 pm Post subject: Re: Displaying Non-English Characters in a TMemo |
|
|
Thanks Stefan a lot! I've come to the sad realization that they do not
support Unicode.
RichEdit however does support it but as you said, it is based on different
code.
"Vladimir Stefanovic" <antivari (AT) po (DOT) sbb.co.yu> wrote in message
news:4645a79a (AT) newsgroups (DOT) borland.com...
| Quote: | How can I make it so it shows non-english chars?
VCL & it's components are not Unicode based, and that's
the major problem. I suggest you to look for some 3rd party
Unicode controls for that.
If it's a questions of cyrillic language, one way of doing that
is:
Control Panel > Regional and Language Options > Advanced
[select desired Cyrillic language, like Serbian (Latin) ]
OK to load from HD, OK to restart.
P.S.
NotePad (AFAIK), like MS Word emulates code pages, do it's
a completey different story.
--
Best Regards,
Vladimir Stefanovic
|
|
|
| Back to top |
|
 |
JD Guest
|
Posted: Sat May 12, 2007 6:09 pm Post subject: Re: Displaying Non-English Characters in a TMemo |
|
|
"XCalibur" <wifitech (AT) optusnet (DOT) com.au> wrote:
Please direct your browser to:
http://info.borland.com/newsgroups/guide.html
and read the guide lines that Borland has published for
accessing their server. Note that you are asked to not
over quote and that it is grounds for cancelation.
Please trim your posts.
Thanks!
~ JD |
|
| Back to top |
|
 |
Hans Galema Guest
|
Posted: Mon May 14, 2007 8:10 am Post subject: Re: Displaying Non-English Characters in a TMemo |
|
|
XCalibur wrote:
| Quote: | I've changed the CHARSET of the TFont property in a TMemo control to the
appropriate charset (Cyrilic) but I still does not display the letters
properly.
|
Then show your code as I do it here all the time. TMemo does cyrillic
when you set it up correctly and you type russisan.
| Quote: | I pasted some tex and all it displays is "?????" I tried the same in
Notepad and it displays them perfectly. I just pasted the text. Didn't
change anyting.
I have a Form1 and a Memo1. I press F9 to run the program, I paste some
Cyrilic text and I get "?????"
|
Copy and pasting is a different story though. I have problems with that too.
But typing is ok.
Hans. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|