Avoid "unsupported encoding" test failure on Perl 5.6.