Why doesn't the degree symbol '°' get displayed in C#, even though it is included in UTF-8? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Why doesn't the degree symbol '°' get displayed in C#, even though it is included in UTF-8?

Why does this show a question mark instead of the degree symbol? :- Console.Write('°'); Also, is it possible to display a unicode character in C?

5th Jun 2021, 11:57 AM
Calvin Thomas
Calvin Thomas - avatar
6 Answers
+ 2
Calvin, Sorry I don't have any idea why, I don't wanna make assumptions about that : )
5th Jun 2021, 4:20 PM
Ipang
+ 2
7th Jun 2021, 6:42 PM
sneeze
sneeze - avatar
+ 1
Ipang Thanks for the links. But why in the first place doesn't C# support Unicode characters as it is, while python doesn't show any problems?
5th Jun 2021, 4:16 PM
Calvin Thomas
Calvin Thomas - avatar
+ 1
Ipang Alright, and thank you.
5th Jun 2021, 4:21 PM
Calvin Thomas
Calvin Thomas - avatar
0
sneeze Thank you for answering my question.
8th Jun 2021, 1:46 AM
Calvin Thomas
Calvin Thomas - avatar