Similar changes should/could be made to cpan/CGI/t/utf8.t
and ext/XS-APItest/t/utf16_to_utf8.t
Reasoning is my smokes being built without Encode, because
it takes too long.
}
SKIP: {
skip("no perlio", 2) unless (find PerlIO::Layer 'perlio');
+ skip("no Encode", 2) unless $Config{extensions} =~ m{\bEncode\b};
eval q[use Encode::Alias;use open ":std", ":locale"];
is($@, '', 'can use :std and :locale');