Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Code Page translation not working!!!!
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00821382
Message ID:
00822022
Vues:
21
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é
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform