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

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.
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

Using Unicode in Visual FoxPro Web and Desktop Applications
Could you please post links for "unicode articles on the web" that did not work for you?

Did you try Microsoft Rich text control? (

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, ...
Why Diversity in Tech Matters

Kesha Williams, certified professional and software developer, explores the imbalance of diversity in the world of technology -- especially when it comes to hiring women. She showcases ways she's making a difference through the Colors of STEM program.

And what about reports, Captain?
SiliconQuestionsAuthor Commented:
Hi Captain & pcelba, Thank you for your responses. One link that they had tried was I will also ask them to try Microsoft Rich text control. Thank you.
CaptainCyrilFounder, Software Engineer, Data ScientistCommented:
I use Excel, Word and PowerPoint as well as Internet Explorer for my reports. They take Unicode pretty well.
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

LOCAL hActiveWindow
hActiveWindow = GetActiveWindow()
= OpenClipboard(hActiveWindow)
hRTF = RegisterClipboardFormat("Rich Text Format")
hData = GetClipboardData(CF_TEXT)
= SetClipboardData(hRTF, hData)
= CloseClipboard()
cText = oWord.Selection.Text
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.
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.
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

From novice to tech pro — start learning today.