Need to use Unicode for Hindi (or Gujarati) in VFP 9.0

Hi:
We have a need to figure out a way to use Unicode for Hindi or Gujarati or another Indian Language in VFP 9.0. So the user will input the text in Hindi and it will be stored as it is in VFP 9.0 database. Please suggest a very simple approach with steps and  sample code. The folks are in a different timezone and tried following some unicode articles on the web but that didnt work for Hindi language.
Thank you.
SiliconQuestionsAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

CaptainCyrilFounder, Software Engineer, Data ScientistCommented:
Using Unicode in Visual FoxPro Web and Desktop Applications
http://www.west-wind.com/presentations/foxunicode/foxunicode.asp

Using Unicode in Visual FoxPro Web and Desktop Applications
http://www.programmersheaven.com/2/using-unicode-in-visual-foxpro
0
pcelbaCommented:
Could you please post links for "unicode articles on the web" that did not work for you?

Did you try Microsoft Rich text control? (http://support.microsoft.com/kb/253684)
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
CaptainCyrilFounder, Software Engineer, Data ScientistCommented:
I personally use Microsoft Rich Text control to grab the Unicode text and then save it in memo fields. As for the output I use an embedded Internet Explorer in a Visual Form to display them. All works like a charm. The search, copy, insert, paste, ...
0
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

pcelbaCommented:
And what about reports, Captain?
0
SiliconQuestionsAuthor Commented:
Hi Captain & pcelba, Thank you for your responses. One link that they had tried was http://www.west-wind.com/presentations/foxunicode/foxunicode.asp. I will also ask them to try Microsoft Rich text control. Thank you.
0
CaptainCyrilFounder, Software Engineer, Data ScientistCommented:
I use Excel, Word and PowerPoint as well as Internet Explorer for my reports. They take Unicode pretty well.
0
CaptainCyrilFounder, Software Engineer, Data ScientistCommented:
This is what I use to convert RTF text to Unicode inside a memo field

oWord is Microsoft Word
oDoc is a document open in Word
oRTFControl is the RTFControl

_CLIPTEXT = oRTFControl.SelRTF
LOCAL hActiveWindow
hActiveWindow = GetActiveWindow()
= OpenClipboard(hActiveWindow)
LOCAL hRTF
hRTF = RegisterClipboardFormat("Rich Text Format")
LOCAL hData
#DEFINE CF_TEXT 1
hData = GetClipboardData(CF_TEXT)
= SetClipboardData(hRTF, hData)
= CloseClipboard()
oDoc.Content.Paste
oDoc.Select
cText = oWord.Selection.Text
0
pcelbaCommented:
Just FYI, I am experimenting with reports slightly and they are Unicode ready in VFP 9 already...

To print Unicode data you just need very small update in Report listener and even when locale settings are not set for double byte character language the Unicode string is printed w/o problems.
0
SiliconQuestionsAuthor Commented:
Thank you for the suggestions. The folks are currently proceeding with the rich text box control approach. Initial results seem generally successful and I will mark the item soon.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
FoxPro

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.