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!

Character conversion help

Status
Not open for further replies.

cjtaylor

Programmer
Aug 12, 2001
69
US
I am having a problem trying to figure out how to convert the registered symbol so it displays like ® instead of like this ? (actually displays as a square) in my code. How do I convert this so when I assign my label.Text property, it displays like the following on my form.

Capital One® Credit Cards

instead of

Capital One? Credit Cards. (instead of a square)

Thanks



Capital One? Credit Cards
Capital One® Credit Cards
 
Easiest check is to see that the font you're using in the textbox has that character in it.

Next thing to do is to follow the data from it's source to where it's being displayed, and making sure that at each stage any transformations are being done correctly. For example: If the data was stored in a single-byte encoding, make sure that the translation to Unicode specified the correct source codepage.

Note that there's no real way to inspect the source data to identify the codepage -- you either just have to know it, or provide a way outside of the data for the provider to tell you what it was.

Chip H.


____________________________________________________________________
If you want to get the best response to a question, please read FAQ222-2244 first
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top