## The below is fine and dandy my $page = $mech->content(); $page = Jcode->new( $page )->euc(); ## This is not my %fields; # read fields from form. $fields{"comment"} = "EUC encoded string"; $mech->submit_form( form_number => 1, fields => \%fields );