From: Jarkko Hietaniemi Date: Tue, 4 Dec 2001 14:40:28 +0000 (+0000) Subject: LC_ALL might trump LANG. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=b429a72e21c23c9f086d1c98fa5499cd4403a815;p=p5sagit%2Fp5-mst-13.2.git LC_ALL might trump LANG. p4raw-id: //depot/perl@13460 --- diff --git a/lib/open.t b/lib/open.t index 3a42ce5..15a38bc 100644 --- a/lib/open.t +++ b/lib/open.t @@ -183,7 +183,7 @@ eval { open::_get_locale_encoding() }; 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");