Print all ASCII codes of characters of a word on the command line with the free Swiss File Knife for Windows, Mac OS X and Linux.

sfk char[s] word
sfk ... +chars

print ascii codes of all chars of a word,
or print chars for the given code(s).

options
   -codes    force listing of character codes,
             do not check if word is a number.
   -literal  or -lit stops interpretation of any further
             options or chain commands. required if you
             need the code of "-" or "+".
   -hexlist  print flat list of hex codes
   -hexsrc   print as hex source code
   -fromutf  decode utf8 sequence from hexadecimal
             input like 0xe28098

command chaining support
   accepts text or binary from a previous command.

web reference
   http://stahlworks.com/sfk-chars

examples
   sfk chars hello
      prints 5 lines of codes, one for each char.
   sfk chars 0x53464b
      prints 'SFK', the letters for these hex codes.
      any number of hex values can be provided.
   sfk chars -fromutf 0x54657374e28098e28099
      decodes ASCII characters and UTF-8 sequences,
      listing code points of each character found.
   sfk char 65
      prints 'A', the letter for that decimal code.
      only a single decimal value can be provided.
   sfk char -lit +
      print the code of the plus char.
   sfk fromclip +chars
      show codes from the word in the clipboard.