T
Tim Anderson
I have VS 2003 installed on one machine, and the newly downloaded VS 2005
release on another. Both XP Pro.
I have code like this:
string s = "Extended characters: <spade> spades";
MessageBox.Show(s);
where <spade> is the symbol for a spade suit in cards. You can enter this
into the VS editor with character map.
If I run this code in VS 2003, I get the spade symbol showing in the message
box.
If I run this code in VS 2005, I get the square box for an undisplayable
character.
Is this a difference between .NET 1.1 and .NET 2.0? Or could be it be a
difference in the way Windows is set up on the two boxes?
I assume I can fix it with PInvoke to MessageBoxW, but it seems curious.
Tim
release on another. Both XP Pro.
I have code like this:
string s = "Extended characters: <spade> spades";
MessageBox.Show(s);
where <spade> is the symbol for a spade suit in cards. You can enter this
into the VS editor with character map.
If I run this code in VS 2003, I get the spade symbol showing in the message
box.
If I run this code in VS 2005, I get the square box for an undisplayable
character.
Is this a difference between .NET 1.1 and .NET 2.0? Or could be it be a
difference in the way Windows is set up on the two boxes?
I assume I can fix it with PInvoke to MessageBoxW, but it seems curious.
Tim