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

Re: Bug#270418: apache: Apache initscript ignores system locale



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.

Fabio

-- 
<user> fajita: step one
<fajita> Whatever the problem, step one is always to look in the error log.
<user> fajita: step two
<fajita> When in danger or in doubt, step two is to scream and shout.



Reply to: