truthseeker
truthseeker

Reputation: 2265

Square boxes instead of letters - asp.net bug, how to resolve?

I have a asp.net page with .net controls. For a long time, many years, pages was run correctly. But lately some signs were change from their normal display mode to squares. Looks like some encoding issue, but changing it, dosen't help. How can I resolve this issue? Why do I see square boxes instead of some signs?

Upvotes: 0

Views: 1254

Answers (3)

sum1stolemyname
sum1stolemyname

Reputation: 4552

The squares yous see are the Unicode Null-glyph, which is shown when the font you are using does not include representations of the character you want to show.

You might want to check which characters can not be rendered by your application, and double check if the font you use does include these. If not, you need to either stop using this characters or use another font.

Upvotes: 3

truthseeker
truthseeker

Reputation: 2265

I have found the replacement of signs which were displayed as square boxes in html special box table. :) plus/minus sign = ± degree - °

Upvotes: 0

kervin
kervin

Reputation: 11858

There are characters in your output that are not valid for your current browser encoding.

We would have to know more about your code to figure out how they got there.

You can look at your browser source in an editor like Vim and let us no the values of those box characters and what encoding your browser uses.

Upvotes: 1

Related Questions