I am writing a .NET 5 console application in C#. One of the things I would like to be able to do is to display two specific Unicode characters: a full heart (♥ - Unicode number 2665) and an empty heart (♡ - Unicode number 2661). Thus:
const char emptyHeart = '\u2661';
const char fullHeart = '\u2665';
I assume I have that set properly, but for some reason the console is showing the emptyHeart as a question mark instead of the proper character. Thus, for example, a string containing three fullHearts followed by four emptyHearts shows as ♥♥♥???? instead of the intended ♥♥♥♡♡♡♡. Is this fixable without changing the Unicode characters (such as to filled and empty circles)? If so, how?