Thank you for the help. I would like th see the function that converts the text to UTF-16 please.
Main Topics
Browse All TopicsI have set up a quick VB 6.0 program with a rtf text box and am copying and pasting Greek words from a Word document into it but my program inserts tiny square boxes in between some of the letters. I would like to know if there is a version of VB where an encoding property can be set to UTF-8 for the rtf text box?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: danaseamanPosted on 2009-09-05 at 19:02:11ID: 25268529
RichEdit controls support UTF-16, however Vb6 RichTextBox is an ANSI control thus does not support UTF-16 via the Text Get/Let Property.
/emorcillo /download/ vb6/ctl_ri ched.msi u will need to download dependencies OleLib.Tlb and OleLib2.Tlb and recompile the control against the these Tlbs.
To support UTF-8 you have to convert it to UTF-16 and then send that to the control.
Please advise if you need a Vb6 function to do this.
Here is a RichEdit control the supports UTF-16:
http://www.mvps.org
Yo