This is documentation for Mathematica 4, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

ToCharacterCode (modified)CharacterRange


FilledSmallSquareFromCharacterCode[n] gives a string consisting of the character with integer code n.

FilledSmallSquareFromCharacterCode[, , ... ] gives a string consisting of the sequence of characters with codes .

FilledSmallSquareFromCharacterCode[, , ... , , ... , ... ] gives a list of strings.

FilledSmallSquareFromCharacterCode[ ... , "encoding"] uses the specified character encoding.

FilledSmallSquare The integer n must lie between 0 and 65535, as returned by ToCharacterCode.

FilledSmallSquare For n between 0 and 127, FromCharacterCode returns ASCII characters.

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

FilledSmallSquare For other n it returns characters specified by the standard Mathematica encoding based on Unicode.

FilledSmallSquareInputForm[FromCharacterCode[n]] gives the full name assigned to a special character with character code n.

FilledSmallSquare Whether a particular character generated by FromCharacterCode can be rendered on your output device will depend on what fonts and drivers you are using.

FilledSmallSquare Encodings supported in FromCharacterCode[ ... , "encoding"] are listed in the notes for $CharacterEncoding.

FilledSmallSquare See The Mathematica Book: Section 2.7.7.

FilledSmallSquare See also: ToCharacterCode, CharacterRange, $CharacterEncoding.

FilledSmallSquare Related package: Utilities`BinaryFiles`.

Further Examples

ToCharacterCode (modified)CharacterRange