Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Russian characters
Message
From
06/02/2014 12:52:32
 
 
To
06/02/2014 05:29:11
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turkey
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01593124
Message ID:
01593516
Views:
38
That will not work. Non-unicode code page is not relevant to VFP, only to screen display.

>>>i am trying to enter russian characters into my table,
>>>
>>>i have given the command
>>>
>>>codepage=1250 in config.fpw
>>
>>That's central european set, i.e. latin with šđčćžöüóúőpŁłéáű etc. For cyrillic, the codepage is 1251.
>>
>>>and in my startup main program
>>>
>>>
>>>set collate="RUSSIAN"
>>>
>>
>>Don't. Collation should be set for certain indexes individually, where you need them - on names etc - not on numeric or date fields. Probably can't be done anyway. Indexing a non-character field on anything but machine sequence is, if not impossible, leading to errors.
>>
>>>but i still get ???? instead of the russian characters
>>
>>Get it where? You should be able to set the .FontCharSet for any control, including _screen. Mind you, this does not include form captions, as they are governed by the current machine's character set for non-unicode programs, which is set somewhere in the control panel, regional settings or some such, depending on your version of windows. If there's a mismatch there, you'll get question marks or all accented characters (because the cyrillic set is, in cp1251, all in the upper half, which maps to these accented things in other codepages).
>
>codepage=auto
>he can use set collate, delete and regenerate indexes is not a big deal. but his problem is not about these, he just should choose nonunicode programs language from control panel.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform