Skip to main content

ToCharacterCode

ToCharacterCode["string"] gives a list of the integer codes corresponding to the characters in a string. 

ToCharacterCode["string","encoding"] gives integer codes according to the specified encoding.

Please visit the official Wolfram Language Reference for more details and examples on core symbols.