Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Unicode compliant?

Status
Not open for further replies.

billybobk

Programmer
Oct 14, 2002
130
US
I created an app that picks up names from a table and displays them in a combobox BUT WAIT! 'Johannes Hoek' (with the umlat over the e) shows in the box as 'Johannes Ho+k'. Looks like a unicode issue. Can VB apps be set to be unicode-compliant? Thanks!

--Bill
One may not reach the dawn save by the path of the night
--Kahlil Gibran
 
The internal parts of VB do indeed use UTF-16 (UCS-2) Unicode. But the forms engine within VB6 and the code inspector window in the debugger only support ANSI. So you'll see that sort of thing -- you successfully read a value from a NVARCHAR field in the database, and can send it to the NT Event log, a flat-file, Web page, etc. But you try and display it in a form and it ends up mangled.

If you want full Unicode support, you'll have to switch to Java or .NET, sorry.

Chip H.
 
Use Forms2.0 (Project/Components (CTRL-T)).
It may help you.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top