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!

Characters not showing up in VB components

Status
Not open for further replies.

plunkett

Technical User
Jun 10, 2004
57
US
I'm using vb.net 2008, and receiving data from a socket. The problem is that some extended characters show up as boxes (little squares) in my vb components that I'm loading with the data (richtext, lists, etc).

Can anyone give me any tips on how to trouble shoot this? Thanks!
 
And a bit more information...

It seems that some of the data is arriving UTF8 encoded, and some of it isn't. The data arriving in UTF8 is working, and the data that isn't UTF8 doesn't work... for example..


Char Hex UTF8 HEX

ì EC C3 AC

With a packet sniffer I determined that the byte that is being sent for ì is sometimes EC in hex (not encoded) and C3 AC in UTF8 Hex (encoded). The UTF8 works. Is there anyway to display the non-encoded portions correctly? I can't do anything about the server side...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top