Change 13460 by jhi@alpha on 2001/12/04 14:40:28

        LC_ALL might trump LANG.

Affected files ...

.... //depot/perl/lib/open.t#11 edit

Differences ...

==== //depot/perl/lib/open.t#11 (text) ====
Index: perl/lib/open.t
--- perl/lib/open.t.~1~ Tue Dec  4 07:45:05 2001
+++ perl/lib/open.t     Tue Dec  4 07:45:05 2001
@@ -183,7 +183,7 @@
 like( $@, qr/too ambiguous/, 'should die with ambiguous locale encoding' );
 %%%
 # the special :locale layer
-$ENV{LANG} = 'ru_RU.KOI8-R';
+$ENV{LC_ALL} = $ENV{LANG} = 'ru_RU.KOI8-R';
 # the :locale will probe the locale environment variables like LANG
 use open OUT => ':locale';
 open(O, ">koi8");
End of Patch.

Reply via email to