Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Code Page translation not working!!!!
Message
From
20/08/2003 17:32:52
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00821382
Message ID:
00822022
Views:
20
I have create table with field type Character (binary) and typed in some characters but they have changed when I changed code page although in help stands that on this field type doesn't affect code page changes.


>>I really don't understand how to make this work.
>>I am using some characters in .PRG files which I don't want to translate when I change code page in Windows (in Regional and Language Options).
>>
>>I have tried CPCONVERT() and it doesn't convert at all characters, SET NOCPTRANS doesn't prevent translating from changing into code page, COMPILE my.prg AS 1252 also doesn't work...
>>
>>Can someone help me about this?
>>
>>Is it possible to prevent translating characters into code page in .PRG files in VFP 7.0?
>
>Boban,
>
>CPCONVERT is intended to be used with tables. When you save a PRG as 1252, all of the code gets saved as 1252. You have no option to avoid the code page translation of a program.
>
>If you absolutely need the special characters you're speaking about, save them into a table and retrieve them from your program.
>
>José
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform