Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Code page
Message
From
17/12/2001 12:33:58
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00595040
Message ID:
00595197
Views:
19
>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)
Previous
Reply
Map
View

Click here to load this message in the networking platform