tags:

views:

112

answers:

3

Hi all,

I have a control displaying text, but somehow the text appear to be all squares, why's that?

P.S It's an edit control in winform and the original text is in Japanese.

Thanks,

A: 

It is probably due to a missing unicode character set. Check out the wikipedia page for details of installing updates.

Rich Seller
A: 

That means the font does not contain the characters you want to display. In that case those blocks are shown as placeholders.

Most common reason for this are:

  • Wrong encoding of the string.
  • Displaying unicode characters without a proper font.
DR
+1  A: 

Try browsing to a Japanese website, copy some Japanese text & paste it into this textbox.
If it shows as squares, the problem could be due to font of the textbox.

Set the font that supports unicode range for Japanese characters (see if Arial Unicode MS helps).

shahkalpesh
Yes: if all the characters show as little boxes, it's because you're using the wrong font.
Alan Moore