Package: phpgroupware
Version: 0.9.16.011-2.2
Severity: normal

When on apache2.2 and PHP4, phpGroupware will render all characters as
iso-8859-1, with such accents for french (as an exemple) when French is
selected in the preferences of the user.

However, default charset (set by /etc/apache2/conf.d/charset which
specifies AddDefaultCharset UTF-8) declared by Apache2.2  for the same
pages in the HTTP headers is UTF-8.
This renders all the accents very strange.

The phpGroupware code will generate this META header in the HTML output : 
http-equiv="Content-Type" content="text/html; charset=iso-8859-1
but that doesn't seem to have any effect (at least in Firefox and
Konqueror, AFAICT).

I think this could be fixed by adding something like
php_value default_charset "iso-8859-1"
to the <IfModule mod_php4.c> in
/etc/apache2/conf.d/phpgroupware.conf

Another solution could be to issue proper header() call in the PHP code
instead of setting a HTML META tag ? (needs to be confirmed by someone
more experienced in Apache+PHP).

Hope this helps.

Best regards,

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-686
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages phpgroupware depends on:
ii  apache2-mpm-prefork [http 2.2.3-3.2      Traditional model for Apache HTTPD
ii  debconf [debconf-2.0]     1.5.11         Debian configuration management sy
ii  mysql-client-5.0 [mysql-c 5.0.30-3       mysql database client binaries
ii  php4                      6:4.4.4-8      server-side, HTML-embedded scripti
ii  php4-imap                 6:4.4.4-8      IMAP module for php4
ii  php4-mysql                6:4.4.4-8      MySQL module for php4
ii  php4-pgsql                6:4.4.4-8      PostgreSQL module for php4
ii  phpgroupware-admin        0.9.16.011-2.2 phpGroupWare administration module
ii  phpgroupware-phpgwapi     0.9.16.011-2.2 library of common phpGroupWare fun
ii  phpgroupware-preferences  0.9.16.011-2.2 phpGroupWare preferences managemen
ii  phpgroupware-setup        0.9.16.011-2.2 phpGroupWare setup III module
ii  wwwconfig-common          0.0.48         Debian web auto configuration

Versions of packages phpgroupware recommends:
ii  php4-ldap                     6:4.4.4-8  LDAP module for php4

-- debconf information:
  phpgroupware/db/admin/password: (password omitted)
* phpgroupware/configuration/password/confirm: (password omitted)
* phpgroupware/header/password/confirm: (password omitted)
* phpgroupware/db/user/password: (password omitted)
* phpgroupware/db/user/password/confirm: (password omitted)
* phpgroupware/header/password: (password omitted)
* phpgroupware/configuration/password: (password omitted)
  phpgroupware/debug:
* phpgroupware/db/type: MySQL
  phpgroupware/db/setup/skip: false
  phpgroupware/db/user/password/mismatch:
  phpgroupware/configuration/note:
  phpgroupware/configuration/password/mismatch:
* phpgroupware/db/user/name: phpgroupware
* phpgroupware/postrm: true
  phpgroupware/db/setup/abort:
  phpgroupware/configuration/overwrite: false
* phpgroupware/db/name: phpgroupware
* phpgroupware/webserver: apache2
  phpgroupware/header/password/mismatch:
* phpgroupware/db/host: localhost
* phpgroupware/db/admin/name: root


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to