From: Gavin Kistner Date: 2007-08-17T05:33:12+09:00 Subject: Re: character to hex/binary/etc... > Oops, no, that's not what I need. I can do that. > I need to take "I" or "J" or whatever character and convert to hex! > or binary irb(main):001:0> "I"[0] => 73 irb(main):002:0> "I"[0].to_s(16) => "49"