JRuby

Array#pack needs modifications for 1.9 encoding support