From: Yukihiro Matsumoto Date: 2009-10-09T07:46:40+09:00 Subject: [ruby-core:26014] Re: Array#pack with format 'H' accepts G-Z Hi, In message "Re: [ruby-core:26009] Array#pack with format 'H' accepts G-Z" on Thu, 8 Oct 2009 20:47:05 +0900, Yusuke ENDOH writes: |Array#pack with format 'H' seems to accept not only alphabet A-F but |also G-Z. Is it a spec, or bug? | | ["0D"].pack("H*").unpack("C") #=> [13] | ["0E"].pack("H*").unpack("C") #=> [14] | ["0F"].pack("H*").unpack("C") #=> [15] | ["0G"].pack("H*").unpack("C") #=> [0] | ["0H"].pack("H*").unpack("C") #=> [1] | ["0I"].pack("H*").unpack("C") #=> [2] | ["0J"].pack("H*").unpack("C") #=> [3] It must be a bug. matz.