5

These are useful function from their name.And they are kernel function since:

System`Private`HasAnyCodesQ /@ {System`Private`LookupCodeByName, 
  System`Private`LookupNameByCode}

{True, True}

But how to use them?

Alexey Popkov
  • 61,809
  • 7
  • 149
  • 368
yode
  • 26,686
  • 4
  • 62
  • 167

1 Answers1

14

I tried random inputs until I got something to work. It looks like it has to do with character codes:

System`Private`LookupNameByCode[200]
"CapitalEGrave"

And then we can plug in the reverse:

System`Private`LookupCodeByName["CapitalEGrave"]
200

Edit by yode as J.M.'s comment

Grid[DeleteCases[{#, FromCharacterCode[#], 
     System`Private`LookupNameByCode[#]} & /@ 
   Range[100, 174], {_, _, $Failed}], Frame -> All]

output

Alexey Popkov
  • 61,809
  • 7
  • 149
  • 368
Greg Hurst
  • 35,921
  • 1
  • 90
  • 136