$DOSISH = 1 if !$DOSISH and $^O =~ /^uwin/;
my $NONSTDIO = exists $ENV{PERLIO} && $ENV{PERLIO} ne 'stdio' ? 1 : 0;
my $FASTSTDIO = $Config{d_faststdio} && $Config{usefaststdio} ? 1 : 0;
-my $UNICODE_STDIN;
+my $UTF8_STDIN;
if (${^UNICODE} & 1) {
if (${^UNICODE} & 64) {
# Conditional on the locale
- $UNICODE_STDIN = ${^UTF8LOCALE};
+ $UTF8_STDIN = ${^UTF8LOCALE};
} else {
# Unconditional
- $UNICODE_STDIN = 1;
+ $UTF8_STDIN = 1;
}
} else {
- $UNICODE_STDIN = 0;
+ $UTF8_STDIN = 0;
}
my $NTEST = 44 - (($DOSISH || !$FASTSTDIO) ? 7 : 0) - ($DOSISH ? 5 : 0)
- + $UNICODE_STDIN;
+ + $UTF8_STDIN;
sub PerlIO::F_UTF8 () { 0x00008000 } # from perliol.h
# FASTSTDIO = $FASTSTDIO
# UNICODE = ${^UNICODE}
# UTF8LOCALE = ${^UTF8LOCALE}
-# UNICODE_STDIN = $UNICODE_STDIN
+# UTF8_STDIN = $UTF8_STDIN
__EOH__
SKIP: {
}
check([ PerlIO::get_layers(STDIN) ],
- $UNICODE_STDIN ? [ "stdio", "utf8" ] : [ "stdio" ],
+ $UTF8_STDIN ? [ "stdio", "utf8" ] : [ "stdio" ],
"STDIN");
open(F, ">:crlf", "afile");