Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
French Data in VFP
Message
From
14/09/2011 21:32:19
David Greene
Productive Solutions, LLC
California, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
French Data in VFP
Miscellaneous
Thread ID:
01523575
Message ID:
01523575
Views:
151
I have an app in which CSV files import client data. These CSV files have been in English but are now starting to arrive in French where Entreés shows up as Entrées. These CSV files are saved as UTF-8 by the client's system.

I can't seem to find how to get the file to convert so that the French characters appear as they should. CPCURRENT(1) returns 1252 and CPCURRENT(2) returns 437. I've tried all the codepages in the line of code importing the file:

APPEND FROM [csvfilename] TYPE CSV AS [nCodePage]

but without success. I'm probably missing something stupidly basic, but can't seem to find how to get the file to translate properly. Any ideas?

Many thanks,
Dave
David Greene
Productive Solutions, LLC
Los Angeles
Next
Reply
Map
View

Click here to load this message in the networking platform