Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can VFP6 read a file with utf-8 coding
Message
 
 
To
08/06/2009 16:50:03
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 6
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01404574
Message ID:
01404575
Views:
53
Create VFP9 COM DLL that does conversion and use it from VFP6

>I have problem with reading of plain text file (to be honest, this file is dumped or exported MySQL table with ";" delimited fields using PHP code that shall be imported into VFP6 free table) which is utf-8 coded. I was able to handle with this problem using by VFP9 and its commands:
>
>twobyte=STRCONV(name_of_file, 11)	&&Converts UTF-8 characters in expression to double-byte characters
>
>and VFP6 doesn't have this feature! It's easy to say: Do it with VFP9 but I must to do it with VFP6!
>Due that VFP6 read special (diacritics) in file on wrong way. I wasted two week searching and trying some solution with VFP6 but haven't had luck. Is there some way to read on right way utf-8 coded text files? Thank you a lot.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform