Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Ascii to Ansi
Message
From
29/12/2002 16:55:33
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
29/12/2002 15:01:31
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00736429
Message ID:
00736438
Views:
18
>Is there a way or a utility to translate old Ascii enecoded DBF-files with European names etc. into Ansi DBF-files? I know that I can still use Ascii files in Visual FoxPro, but I want to manipulate them in Ansi.

If the legacy table is marked with a DOS codepage (for instance, 850 or 437), translation is done automatically by Visual FoxPro (both ways - reading and writing to the table).

If you open the table the first time, you should be presented with a dialog to select the table's codepage. DO CPZERO can reset the codepage, if you accidentally selected the wrong codepage. See also SET CPDIALOG.

If you want to program the translations yourself, one field at a time, you can use the CPCONVERT() function.

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
Next
Reply
Map
View

Click here to load this message in the networking platform