[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#270418: apache: Apache initscript ignores system locale



On Tuesday 07 September 2004 03:03 am, Fabio Massimo Di Nitto wrote:
> severity 270418 wishlist
> tag 270418 wontfix
> stop
>
> On Tue, 7 Sep 2004, Ian Eure wrote:
> > Package: apache
> > Version: 1.3.31-5
> > Severity: important
> > Tags: l10n
> >
> > From /etc/init.d/apache:
> >
> > -- snip --
> > ENV="env -i LANG=C PATH=/bin:/usr/bin:/usr/local/bin"
> > ...
> > APACHECTL="$ENV $APACHECTL"
> > -- snip --
> >
> > This renders PHP unable to display UTF-8 text with gettext; all
> > non-ASCII
> > characters are changed to question marks.
> >
> > LANG should be set from locales/default_environment_locale in debconf.
>
> Setting LANG to anything != C breaks at least another 200 things, like
> user configurations.
>
Is there some definitive resource which documents these effects? I'd like to 
know what I run the risk of breaking by forcing Apache to use my locale.



Reply to: