({{, (RefLink[FromCharacterCode, paclet:ref/FromCharacterCode])[n]
gives a string consisting of the character with integer code n. }, {, (RefLink[FromCharacterCode, paclet:ref/FromCharacterCode])[{(Subscript[n, 1]),(Subscript[n, 2]),…}]
gives a string consisting of the sequence of characters with codes (Subscript[n, i]). }, {, (RefLink[FromCharacterCode, paclet:ref/FromCharacterCode])[{{(Subscript[n, 11]),(Subscript[n, 12]),…},{(Subscript[n, 21]),…},…}]
gives a list of strings. }, {, (RefLink[FromCharacterCode, paclet:ref/FromCharacterCode])[…,"encoding"]
uses the specified character encoding. }})

OpenersNotesSection(Spacer1)Details

The integer n must lie between 0 and 1114112, as returned by (RefLink[ToCharacterCode, paclet:ref/ToCharacterCode]).

For n between 0 and 127, (RefLink[FromCharacterCode, paclet:ref/FromCharacterCode]) returns ASCII characters.

For n between 129 and 255, it returns ISO Latin-1 characters.

For other n, it returns characters specified by the standard Wolfram Language encoding based on Unicode.

(RefLink[FullForm, paclet:ref/FullForm])[FromCharacterCode[n]] gives the full name assigned to a special character with character code n.

Whether a particular character generated by (RefLink[FromCharacterCode, paclet:ref/FromCharacterCode]) can be rendered on your output device will depend on what fonts and drivers you are using.

Encodings supported in (RefLink[FromCharacterCode, paclet:ref/FromCharacterCode])[…,"encoding"] are given by (RefLink[$CharacterEncodings, paclet:ref/$CharacterEncodings]).

OpenersPrimaryExamplesSection(Spacer1)Examples  (11)

OpenersExampleSection0(Spacer1)Basic Examples  (2)

Give a string consisting of the sequence of characters with codes 97, 98, and 99:

FromCharacterCode[{97,98,99}]

Obtain character codes:

ToCharacterCode["ABCD abcd"]

(RefLink[FromCharacterCode, paclet:ref/FromCharacterCode]) reconstructs the original string:

FromCharacterCode[%]

OpenersExampleSection1(Spacer1)Scope  (4)

Create a string consisting of a character:

FromCharacterCode[97]

A string consisting of several characters:

FromCharacterCode[{97,98,99}]

A list of strings:

FromCharacterCode[{{97,98, 99},{100,101, 102}}]

Use a character encoding:

FromCharacterCode[{225,226,227},"ISO8859-7"]

Use a variable-length character encoding:

FromCharacterCode[{{97},{206,177},{226,132,181}},"UTF8"]

All printable ASCII characters:

FromCharacterCode[Range[32,126]]

Some ISO Latin-1 letters:

FromCharacterCode[Range[192,255]]

Some characters in the private use area:

FromCharacterCode[{61726,62520,62521,62522,63309,63310,63311,63373,63374,63375,63418,63419,63420,63421,63422,63423,63440,63511,63512,63513,63514,63515,63516,63517}]

%//FullForm

OpenersExampleSection2(Spacer1)Applications  (1)

All the names of special characters that begin with "N":

Select[ToString[FullForm[FromCharacterCode[#]]]& /@ Range[1,65535],StringMatchQ[#,"\"\\[N" ~~___]&]

OpenersExampleSection3(Spacer1)Properties & Relations  (4)

The default encoding is "Unicode":

FromCharacterCode[945]==FromCharacterCode[945,"Unicode"]

(RefLink[FromCharacterCode, paclet:ref/FromCharacterCode]) is the inverse of (RefLink[ToCharacterCode, paclet:ref/ToCharacterCode]):

ToCharacterCode["∮"]

FromCharacterCode[%]

This is also true for lists of strings:

ToCharacterCode[{"ABCD","abcd"}]

(RefLink[FromCharacterCode, paclet:ref/FromCharacterCode]) reproduces the list of strings:

FromCharacterCode[%]

Use (RefLink[FullForm, paclet:ref/FullForm]) to get the full name assigned to a special character:

FullForm[FromCharacterCode[8750]]

The allowed values of the second argument are given by (RefLink[$CharacterEncodings, paclet:ref/$CharacterEncodings]):

#->FromCharacterCode[{100},#]&/@$CharacterEncodings

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[ToCharacterCode, paclet:ref/ToCharacterCode])  ▪  (RefLink[ByteArrayToString, paclet:ref/ByteArrayToString])  ▪  (RefLink[CharacterRange, paclet:ref/CharacterRange])  ▪  (RefLink[FromLetterNumber, paclet:ref/FromLetterNumber])  ▪  (RefLink[Alphabet, paclet:ref/Alphabet])  ▪  (RefLink[CharacterName, paclet:ref/CharacterName])  ▪  (RefLink[$CharacterEncoding, paclet:ref/$CharacterEncoding])  ▪  (RefLink[CharacterEncoding, paclet:ref/CharacterEncoding])  ▪  (RefLink[URLEncode, paclet:ref/URLEncode])}})}})

({{DocumentationFooterIconsRelatedTutorial.png, ({{Tutorials}, {▪(RefLinkPlain[Character Codes, paclet:tutorial/CharacterCodes])}})}})

({{DocumentationFooterIconsRelatedGuide.png, ({{Related Guides}, {▪(RefLinkPlain[Binary Data, paclet:guide/BinaryData])}, {▪(RefLinkPlain[Character Operations, paclet:guide/CharacterOperations])}, {▪(RefLinkPlain[Special Characters, paclet:guide/SpecialCharacters])}, {▪(RefLinkPlain[Locale & Internationalization, paclet:guide/LocaleAndInternationalization])}, {▪(RefLinkPlain[Systems-Related String Operations, paclet:guide/SystemsRelatedStringOperations])}})}})

({{(Spacer1), ({{(Spacer1)Related Links}, {(WebLink[DocumentationFooterIconsRelatedLinks-EIWL.png(Spacer1)An Elementary Introduction to the Wolfram Language, https://www.wolfram.com/language/elementary-introduction/11-strings-and-text.html])(WebLink[: Strings and Text, https://www.wolfram.com/language/elementary-introduction/11-strings-and-text.html])}})}})