Reputation: 1536
I am trying to write a C# console application the displays the copyright symbol ©. According to this StackOverflow answer that should be possible. However, on my Windows 8 console display I get the lowercase letter c printed out. What could be wrong?
Upvotes: 4
Views: 3206
Reputation: 1205
Found the solution. Add this before your Console.WriteLine commands:
Console.OutputEncoding = Encoding.UTF8;
That same sample you linked to works if I do that.
Credit for the solution: How to make console be able to print any of 65535 UNICODE characters
Marking this as community wiki since I'm not really the one who knew the answer.
Upvotes: 8
Reputation: 3603
Are you using a custom font for your console? If so, that font may not have support for the (c) character.
Upvotes: 0