CharacterName

CharacterName["c"]

gives the name of the character c.

CharacterName[n]

gives the name of the character with character code n.

CharacterName[c,"type"]

gives a name of the specified type.

Details

  • Possible types include:
  • "CommonName"spelled-out English name
    "HTMLName"name in HTML
    "LongName"long form canonical name
    "StandardName"Wolfram Language standard name (if any)
    "TeXName"name in TeX
    "UnicodeName"name in Unicode standard
  • CharacterName[c] gives the Wolfram Language standard name for c if it exists, and gives the long form canonical name otherwise.
  • CharacterName["string"] gives a list of names of the characters in string.
  • CharacterName has attribute Listable.

Examples

open allclose all

Basic Examples  (4)

Wolfram Language standard name:

In[1]:=
Click for copyable input
Out[1]=

Spelled-out character name:

In[2]:=
Click for copyable input
Out[2]=

Canonical form of the character name:

In[3]:=
Click for copyable input
Out[3]=

Character name according to the Unicode standard:

In[4]:=
Click for copyable input
Out[4]=

Look up character name using character code:

In[1]:=
Click for copyable input
Out[1]=

Character names used in TeX:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

Character names used in HTML:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
In[3]:=
Click for copyable input
Out[3]=

Possible Issues  (1)

See Also

Transliterate  FromCharacterCode  IntegerName  FromLetterNumber  FullForm  LanguageIdentify  WordTranslation

Introduced in 2015
(10.2)