spunit
spunit

Reputation: 565

Add unicode characters as part of label in Winforms with C#

I want to change a label.Text to be: "This " + [this sign] + "sign", but when I'm doing that the sign won't display correctly.

Upvotes: 0

Views: 2002

Answers (1)

David Heffernan
David Heffernan

Reputation: 612794

C# text is Unicode, so the problem won't be that the character cannot be encoded properly. Therefore the most plausible explanation is that the font you use does not contain a glyph for this character. The solution will therefore be to use a font that does.

Upvotes: 2

Related Questions