On Thursday, Mar 6, 2003, at 21:33 Asia/Tokyo, Dan Kogai wrote:
> I noticed that when I read perlrun again. But that can still be
> overcome by "defined $ENV{PERL_UNICDE}". However, $ENV{PERL_UNICODE}
> = 0 has a different meaning again.
>
> Another problem is that the -C switch does NOT change
> $ENV{PERL_UNICODE} so you can't check the state easily. Can you make
> it so that the -C switch changes $ENV{PERL_UNICODE} accordingly?
Oh, no need. ${^UNICODE} serves the purpose well enough.
(defined ${^UNICODE} and ${^UNICODE} != 0)
should suffice.
Dan the Encode Maintainer
Thread Previous
|
Thread Next