Bug#270418: apache: Apache initscript ignores system locale
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.
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (900, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.7-1-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8
Versions of packages apache depends on:
ii apache-common 1.3.31-5 Support files for all Apache
webse
ii debconf 1.4.30.2 Debian configuration management
sy
ii dpkg 1.10.23 Package maintenance system for
Deb
ii libc6 2.3.2.ds1-13 GNU C Library: Shared libraries
an
ii libdb4.2 4.2.52-17 Berkeley v4.2 Database Libraries
[
ii libexpat1 1.95.6-8 XML parsing C library - runtime
li
ii libmagic1 4.09-1 File type determination library
us
ii logrotate 3.7-2 Log rotation utility
ii mime-support 3.28-1 MIME files 'mime.types' &
'mailcap
ii perl 5.8.4-2 Larry Wall's Practical Extraction
-- debconf information:
* apache/enable-suexec: false
apache/server-name: localhost
apache/document-root: /var/www
apache/server-port: 80
apache/init: true
apache/server-admin: webmaster@localhost
Reply to: