From: Sam S. <sd...@gn...> - 2006-01-03 16:03:21
|
> * Yaroslav Kavenchuk <xnirapuhx@wragl.ol> [2006-01-03 14:08:25 +0200]: > > $ ./clisp -norc -L english -x "(print *CURRENT-LANGUAGE*)" > ENGLISH > ENGLISH > =D0=94=D0=BE =D1=81=D0=B2=D0=B8=D0=B4=D0=B0=D0=BD=D0=B8=D1=8F! =D0=9D=D0= =B5 =D0=BF=D0=BE=D0=BC=D0=B8=D0=BD=D0=B0=D0=B9=D1=82=D0=B5 =D0=BB=D0=B8=D1= =85=D0=BE=D0=BC! > > $ ./clisp -norc -L russian -x "(print *CURRENT-LANGUAGE*)" > =D0=A0=D0=A3=D0=A1=D0=A1=D0=9A=D0=98=D0=99 > =D0=A0=D0=A3=D0=A1=D0=A1=D0=9A=D0=98=D0=99 > =D0=94=D0=BE =D1=81=D0=B2=D0=B8=D0=B4=D0=B0=D0=BD=D0=B8=D1=8F! =D0=9D=D0= =B5 =D0=BF=D0=BE=D0=BC=D0=B8=D0=BD=D0=B0=D0=B9=D1=82=D0=B5 =D0=BB=D0=B8=D1= =85=D0=BE=D0=BC! please try the appended patch. thanks. --=20 Sam Steingold (http://www.podval.org/~sds) running w2k http://truepeace.org http://www.palestinefacts.org/ http://www.dhimmi.com/ http://www.openvotingconsortium.org/ http://www.jihadwatch.org/ Modern man is the missing link between apes and human beings. --- spvw_language.d 27 Aug 2005 23:00:35 -0400 1.34 +++ spvw_language.d 03 Jan 2006 10:59:59 -0500=09 @@ -176,10 +176,8 @@ case language_danish: locale =3D "da_DA"; break; default: locale =3D ""; } - if (getenv("LANGUAGE")) - clisp_setenv("LANGUAGE",""); - if (getenv("LC_ALL")) - clisp_setenv("LC_ALL",""); + if (getenv("LANGUAGE")) clisp_setenv("LANGUAGE",NULL); + if (getenv("LC_ALL")) clisp_setenv("LC_ALL",NULL); clisp_setenv("LC_MESSAGES",locale); # Given the above, the following line is only needed for those # platforms for which gettext is compiled with HAVE_LOCALE_NULL |