[ksh93-integration-discuss] Re: Leaving a subshell doesn't reset |setlocale()| values...
Roland Mainz
roland.mainz at nrubsig.org
Thu Apr 19 10:28:33 PDT 2007
Glenn Fowler wrote:
> > Example:
> > -- snip --
> > $ set | /usr/xpg4/bin/egrep "LC_|LANG"
> > LANG=en_US.UTF-8
> > LC_COLLATE=en_US.UTF-8
> > LC_CTYPE=en_US.UTF-8
> > LC_MESSAGES=en_US.UTF-8
> > LC_MONETARY=en_US.UTF-8
> > LC_NUMERIC=en_US.UTF-8
> > $ (export LC_ALL=ja_JP.UTF-8 ; man ls)
> > # view manual page in japanese
> > $ foo
> > /bin/ksh93: foo: not found [<japanese characters here>]
> > -- snip --
[snip]
>
> I believe this had been fixed
> is /bin/ksh93 the most recent?
[snip]
Yes, I tried it with the ast-ksh.2007-04-18 binary from Al Hoppers's
"ksh93-amd64" machine (it doesn't have any japanese lcoales installed
but "fr_CA.UTF-8" works as substitute, too (BTW: default locale for my
login session is "en_US.UTF-8" in this case)):
-- snip --
-bash-3.00$
/home/gisburn/ksh93/ast_ksh_20070418/build_i386_32bit/arch/sol11.i386/bin/ksh
-o gmacs
$ foo
/home/gisburn/ksh93/ast_ksh_20070418/build_i386_32bit/arch/sol11.i386/bin/ksh:
foo: not found [No such file or directory]
$ (export LC_ALL=fr_CA.UTF-8 ; man ls) >/dev/null
Mise en page en cours. Veuillez patienter... terminé
$ foo
/home/gisburn/ksh93/ast_ksh_20070418/build_i386_32bit/arch/sol11.i386/bin/ksh:
foo: not found [Ce fichier ou ce répertoire n'existe pas]
$ export LC_ALL=en_US.UTF-8
$
foo
/home/gisburn/ksh93/ast_ksh_20070418/build_i386_32bit/arch/sol11.i386/bin/ksh:
foo: not found [No such file or directory]
-- snip --
Raw guessing... this isn't related to "-D_map_libc=1", right ?
----
Bye,
Roland
--
__ . . __
(o.\ \/ /.o) roland.mainz at nrubsig.org
\__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer
/O /==\ O\ TEL +49 641 7950090
(;O/ \/ \O;)
More information about the ksh93-integration-discuss
mailing list