0

Can anyone tell me how to get the Unicode name of a character in MFC. e.g. -

Character - Name
Z - LATIN CAPITAL LETTER Z
[ - LEFT SQUARE BRACKET

etc. Thanks, Dev

Andreas Rejbrand
  • 105,602
  • 8
  • 282
  • 384
dev ray
  • 465
  • 3
  • 6
  • 18

1 Answers1

2

As far as I know, this is not possible (unless you hack charmap.exe). I solved the problem by adding a text-file resource to my application, containing all these names. You can download my file from http://privat.rejbrand.se/NamesListParsed.txt.

Andreas Rejbrand
  • 105,602
  • 8
  • 282
  • 384
  • That file was very useful to me. I can't believe it was still there after 10 years :-) – Patrick Oct 04 '20 at 01:54
  • @Patrick: My policy is that if I publish a URL, it should always remain valid (at least for as long as I am alive!). – Andreas Rejbrand Oct 04 '20 at 08:54
  • @AndreasRejbrand Great resource! What is the source of your name list? What is the official repository of these names? Is it https://unicode.org/charts/charindex.html? – Basj Dec 05 '20 at 15:24
  • @Basj: I use https://www.unicode.org/Public/UCD/latest/. Specifically, https://www.unicode.org/Public/UCD/latest/ucd/UnicodeData.txt and its siblings. – Andreas Rejbrand Dec 05 '20 at 15:31
  • Thanks @AndreasRejbrand! this is the answer for https://stackoverflow.com/questions/65158620/official-repository-of-unicode-character-names! Feel free to post it. – Basj Dec 05 '20 at 15:32