Array#unpack w/ "m" had a bug where only multiples of three characters would be decoded. Try:
puts ["123"].pack("m").unpack("m").inspect
and it works, but
puts ["12"].pack("m").unpack("m").inspect
throws an error.
The attached patch fixes this.
unpack.patch
Description: Binary data
