title: How do I get the unicode code point or the byte values for a character in Bash?
body: <p>I have diff output of two files with one character per line. Sometimes the output characters on "different" lines look the same in my terminal. I'd like to pipe the diff output through a function that can add the byte values (or possibly even the unicode code points) to the output so that I can see what the actual byte differences are.</p>
  
  <p>I'm having trouble figuring out how to get the byte values of characters in Bash. Is there a way to do this? I see all sorts of answers about going the other direction, but I want to go from character to byte value.</p>