title: Sending non-printable ASCII codes (like 0x80) through bash and Telnet
body: <p>I'm trying to send non-printable ASCII characters (codes 128 - 255) through telnet to a Ruby app using Socket objects to read data in.</p>
  
  <p>When I try to send <code>\x80</code> through telnet, I expect Ruby to receive a string of 3 bytes: <code>128 13 10</code>.</p>
  
  <p>I actually receive a string of 6 bytes: <code>92 120 56 48 13 10</code>.</p>
  
  <p>Do I need to change something about how telnet is sending the information, or how the Ruby socket is accepting it? I've read through all the telnet jargon I can comprehend. A point in the right direction would be very much appreciated.</p>