undocumented - What's purpose of function System`Private`LookupCodeByName and System`Private`LookupNameByCode
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?
Answer
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]
Comments
Post a Comment