Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Russian characters
Message
From
04/02/2014 13:52:12
 
 
To
04/02/2014 11:08:29
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:
01593181
Views:
52
You are going to have a problem. VFP only legacy flaw is a lack of Unicode support. Using code pages seems like it would work, but VFP only allows a designated code page if the machine is running Windows with that code page. IOW the purpose of the code page support is so if you run VFP on Russian Windows you can store data properly -- it is not designed to facilitate multi-lingual mixed language applications.

It is confusing because Windows will let you enter Russian characters, but then VFP does not properly store them. You cannot mix code pages in VFP.

It is a little more complicated and a little easier than I am describing it, I suggest you look at Rick Strahl's article on these issues at http://www.west-wind.com/presentations/foxunicode/foxunicode.asp.

>i am trying to enter russian characters into my table,
>
>i have given the command
>
>codepage=1250 in config.fpw
>
>and in my startup main program
>
>
>set collate="RUSSIAN"
>
>
>but i still get ???? instead of the russian characters
>
>also when i compile into an EXE and take it to another machine i get the collate not found error
>
>what am i doing wrong ?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform