Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cyrillic font
Message
From
28/01/2002 15:15:41
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
28/01/2002 05:09:39
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00611404
Message ID:
00611837
Views:
20
>Hi all,
>
>I have a form which contains six textboxes for six different
>languages. One of them is Russian. I want to be able to enter
>Cyrillic text to this textbox. In this textbox, I use the
>"Arial Cyr" -font (FontName property). When I use this
>application and want to enter Cyrillic text, I first switch
>to the Russian keyboard (with Alt+Shift). However, the text
>doesn't appear as Cyrillic (some strange characters instead).
>
>This keyboard-switching works fine in such applications as
>WordPad: the cyrillic characters appear as they should. Why
>this doesn't seem to work in Visual FoxPro textboxes (and
>editboxes)? Is there any workaround?

Shorthand, use RTFcontrol for cyrillic. VFP can't support more than one codepage at a time, but RTF control should be capable of that.
Depending on the other languages, if they don't use stuff outside the low-end ASCII, you can do the whole app in cyrillic. To have the cyrillic show up, you also need to set the codepage 1251 as the default codepage on your machine. On W2k, it's enough to set the cyrillic input locale as default.

If you need to support languages such as Baltic, Western, Centraleuropean and Cyrillic at the same time, no way using native controls in VFP. You may try with non-native controls, like whatever comes with Forms.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform