p4raw-id: //depot/perl@31648
-use Test::More tests => 14;
+use Test::More;
+
+if( ord("A") == 193 ) {
+ plan skip_all => 'No Encode::MIME::Header::ISO_2022_JP on EBCDIC Platforms';
+} else {
+ plan tests => 14;
+}
use strict;
use Encode;
[ qw(stdio crlf) ],
"open :crlf");
- binmode(F, ":encoding(sjis)"); # "sjis" will be canonized to "shiftjis"
+ binmode(F, ":encoding(cp1047)");
check([ PerlIO::get_layers(F) ],
- [ qw[stdio crlf encoding(shiftjis) utf8] ],
- ":encoding(sjis)");
+ [ qw[stdio crlf encoding(cp1047) utf8] ],
+ ":encoding(cp1047)");
binmode(F, ":pop");