>hi,
>i don't understand the 'code page' column in the project information windows (file| new| project| project information| file). If the record in the column show a number like '1252', what is that mean? the is the code page used for?
>Could you please tell me?
>Thank you.
Visual FoxPro normally uses single-byte character sets - each byte represents one character. The letter "A", for example, is represented by the value (in decimal) 65, "B" by 66, etc.
For some other data, like letters with accents, the same value can mean different things, depended on the selected "codepage". The system of using different codepages was introduced to accomodate different characters. But in any codepage, only 256 characters at once can be used.
I think that the best long-term solution is to switch to 2 bytes per character - for example, some Asian languages use more than 256 different characters. Here, too, there can be different codepages - but it seems that the "Unicode" system is becoming a sort of international standard. Unfortunately, VFP doesn't have native support for Unicode.
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)