From: Brian Candler Date: 2010-05-16T03:22:25+09:00 Subject: Re: Converting hexadecimal string to character Michael Jackson wrote: > Excellent. Both of these suggestions work beautifully. Clearly I need > to familiarize myself better with sprintf and String. Another way: irb(main):001:0> ["41"].pack("H*") => "A" This has the added benefit of being able to work on sequences of characters in one go. irb(main):002:0> ["414243"].pack("H*") => "ABC" -- Posted via http://www.ruby-forum.com/.