>Kevin ----
>
>DO CPZERO WITH "filename", 1052
>
>This will change them....and I'd say you might want to at some point due to translation differences between MS-DOS (437) and Windows ANSI (1052)
>
>
>>
>>I have a number of old DOS tables that have the 437 code page attached to them.
>>
>>How do I make these 1052 - do I need to?
>>
Assuming that you have "codepage = auto" in your config.fpw...
If those DOS tables have any international characters in them, they will be messed up by using CPZERO. "é" is ASCII 130 in codepage 437, and ASCII 233 in codepage 1252.
Changing the codepage from 437 will make the "é" show up as "‚". VFP will try to display the windows ansi character based on the codepage that's set. That's why you can still see a "é" no matter what the codepage is.
The easiest thing for you to do is to do a COPY TO. The resulting table will be 1252 automatically.
But you don't really even need to do any of this. If the data is showing up correctly, you're fine.
paul
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement