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

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"
-- snip --

This renders PHP unable to display UTF-8 text with gettext; all
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 
ii  debconf                Debian configuration management 
ii  dpkg                        1.10.23      Package maintenance system for 
ii  libc6                       2.3.2.ds1-13 GNU C Library: Shared libraries 
ii  libdb4.2                    4.2.52-17    Berkeley v4.2 Database Libraries 
ii  libexpat1                   1.95.6-8     XML parsing C library - runtime 
ii  libmagic1                   4.09-1       File type determination library 
ii  logrotate                   3.7-2        Log rotation utility
ii  mime-support                3.28-1       MIME files 'mime.types' & 
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: