Reputation: 1525
I have a WPF app and need to display the "white star" (u+2606) character in a label. Of course if I set the string in code with "\u2606" it works fine. However, I can't figure out how to put this into the resource file. When I type ALT+2606 it inputs a period instead of the start. What am I doing wrong?
Upvotes: 2
Views: 3483
Reputation: 5951
From this SO answer - try inserting from the Character Map.
To launch the Character map from the command prompt, type charmap
.
Select Segoe-UI-Symbol and type 2606 in the Unicode box. Click on the star, then Click the Select button and then the Copy button will put it into your clipboard.
Upvotes: 3