Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. sponsors. rss.
 From: Yousfi Benameur
  Where is Yousfi Benameur?
 El Bayadh
 Algeria
 Yousfi Benameur
 To: Eric de Haan
  Where is Eric de Haan?
 Alkmaar
 Netherlands
 Eric de Haan
 Tags
Subject: RE: Unicode in VFP
Thread ID: 233503 Message ID: 233543 # Views: 31 # Ratings: 0
Version: Visual FoxPro 9 SP2 Category: General VFP Topics
Date: Friday, July 03, 2009 11:28:47 AM         
   


> Hi Everyone,
>
> Can someone tell me how to save unicode characters to a VFP table (and read them back)
> I am trying to save data in polish in a Windows Ansi environment. And I can't figure out how to do this. I read on the net that the way to go is to use not the native fox controls but MS Forms controls. So I tried the MS Forms textbox and I have to say I can paste polish text in it and it remains visibly polish. (Something that doesnt's happen with a fox textbox, that does a translation into Ansi. Try pasting polozony into fox.) But no matter what I do I can't figure out what to do with the text in de control. Everything I do seems to translate the text into Ansi.
>
> Any help is appreciated!
>
> kind regards,
> Eric de Haan

I gave you a method to read unicode and save it to a table or txt file in
Message ID: 233480.
Native vfp controls are not unicode (that was a great error ! vfp dont anticipate the "mondialisation" !) and cannot handle unicode.
strconv() function is the one method to store an unicode text and retrieve it
in vfp.
For easy do that currently use the unicode microsoft controls(activeX) like Forms.textbox.1,label.....or even internet explorer (can change its property charset).
or also word & excel.

Dont rate please.its only for the pleasure to help.Give me only a feed back.
Yousfi Benameur



COMPLETE THREAD
Unicode in VFP Posted by Eric de Haan @ 7/3/2009 7:30:57 AM
RE: Unicode in VFP Posted by Yousfi Benameur @ 7/3/2009 11:28:47 AM