Why does my console not display the copyright symbol ©?

I am trying to write a C # console application that displays a copyright symbol ©. According to https://stackoverflow.com/a/312670/216 which should be possible. However, on my Windows 8 console display, I get a lowercase letter c printed. What could be wrong?

+4
source share
2 answers

Found a solution. Add this before the Console.WriteLine commands:

Console.OutputEncoding = Encoding.UTF8; 

The same pattern you are associated with works if I do this.

Credit for the decision: How to configure the console to print any of 65535 UNICODE characters

Noting this as a wiki community since I'm not the one who knew the answer.

+7
source

Are you using your own font for your console? If so, this font may not support the character (c).

0
source

Source: https://habr.com/ru/post/1482459/


All Articles