"] gives a list of the integer codes corresponding to the characters in a string.
"] gives integer codes according to the specified encoding.
ToCharacterCode handles both ordinary and special characters.
"] returns standard internal character codes used by Mathematica, which are the same on all computer systems.
For characters on an ordinary American English keyboard, the character codes follow the ASCII standard.
For common European languages, they follow the ISO Latin-1 standard.
For other characters, they follow the Unicode standard.
Mathematica defines various additional characters in private Unicode space, with character codes between 64256 and 64300.
Character codes returned by ToCharacterCode["
"] lie between 0 and 65535.
Encodings supported in ToCharacterCode["
"] are listed in the notes for $CharacterEncoding.
If a particular character has no character code in a given encoding, ToCharacterCode returns None in place of a character code.
See the Mathematica book: Section 2.7.7.
See also: FromCharacterCode, Characters, CharacterRange, $CharacterEncoding, DigitQ, LetterQ, InputForm.
This converts the string to its ASCII character code equivalents and back again.
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER
FOR THE LATEST INFORMATION.