G
Guest
Hi,
I'm just trying to do something very simple, but I can't find a simple
example. In a TextBox and Button on a WinForm, I just want to display some
Unicode characters -- specifically, U+2660, U+2663, U+2665 and U+2666 (the
playing card symbols).
It's my understanding that all strings is .NET are unicode strings. Is that
correct?
Currently I have the unicode characters as input to some strings:
E.g.
string s = "♠♣♥♦"; // weird, this text box doesn't recognize the diamond
symbol
Then, I simply want to display those characters in a textbox:
textBox1.AppendText(s);
So, what other steps along the way do I need to do?
Thanks,
I'm just trying to do something very simple, but I can't find a simple
example. In a TextBox and Button on a WinForm, I just want to display some
Unicode characters -- specifically, U+2660, U+2663, U+2665 and U+2666 (the
playing card symbols).
It's my understanding that all strings is .NET are unicode strings. Is that
correct?
Currently I have the unicode characters as input to some strings:
E.g.
string s = "♠♣♥♦"; // weird, this text box doesn't recognize the diamond
symbol
Then, I simply want to display those characters in a textbox:
textBox1.AppendText(s);
So, what other steps along the way do I need to do?
Thanks,