Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Code page
Message
De
17/12/2001 12:33:58
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
00595040
Message ID:
00595197
Vues:
18
>Hi All:
> I often get an error message that said that 'please select a code page'. I then would select Window option. Is there a way to fix this or why this would be happening in the first place?
>Thanks

The reason this happens is that your table is not marked with a codepage. It probably is a table from an older version of FoxPro, which didn't mark codepages.

The ability to mark a table with a codepage was introduced for cross-platform compatibility (DOS, Windows, Mac, and Unix too, I believe). Letters with diacriticals (á, ñ, ö, and others) have different numeric representations in different operating systems.

If you open the table and answer that the codepage is 437 or 850 (for DOS), you will be asked no more in the future.

If you don't mark the codepage (SET CPDIALOG OFF), characters will not get translated correctly. This is no problem for English-language characters, but it may be for Spanish, German, etc. texts.

HTH, Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform