G
glean
My console in WinXP is using Lucida Console for the font.
My problem is, I can go to character map and select a
string of special characters such as the following: ®¾Öþ¬«§¯
I can paste them into my console by right-clicking the
title, then edit, paste, and everything is fine.
When I try to display them on the console programmatically
by using Console.WriteLine("®¾Öþ¬«§¯"); , the console
actually displays it as r_Ö_¬«§_
As you can see, some characters were replaced by
underscores, even though they are supported in the current
font's character set.
I tried writing it with unicode codes
Console.WriteLine("\u00AE\u00BE\u00D6\u00FE\u00AC\u00AB\u00A7\u00AF");
which resulted in the same incorrect output.
I also tried @"®¾Öþ¬«§¯" (using the @ symbol in front) with
no luck.
Anyone know how to fix this?
My problem is, I can go to character map and select a
string of special characters such as the following: ®¾Öþ¬«§¯
I can paste them into my console by right-clicking the
title, then edit, paste, and everything is fine.
When I try to display them on the console programmatically
by using Console.WriteLine("®¾Öþ¬«§¯"); , the console
actually displays it as r_Ö_¬«§_
As you can see, some characters were replaced by
underscores, even though they are supported in the current
font's character set.
I tried writing it with unicode codes
Console.WriteLine("\u00AE\u00BE\u00D6\u00FE\u00AC\u00AB\u00A7\u00AF");
which resulted in the same incorrect output.
I also tried @"®¾Öþ¬«§¯" (using the @ symbol in front) with
no luck.
Anyone know how to fix this?