Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CodePages
Message
From
14/10/1998 12:02:19
 
 
To
13/10/1998 14:11:58
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00146277
Message ID:
00146692
Views:
29
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform