Subject: php5-suhosin: mb_internal_encoding not set correctly
Package: php5-suhosin
Version: 0.9.32.1-1
Severity: normal

*** Please type your report below this line ***
We set the mb_internal_encoding via apache config for our site:
<Directory /path/to/our/site/>
  php_value mbstring.internal_encoding utf-8
</Directory>

<?
echo ini_get("mbstring.internal_encoding")."<br>";
echo mb_internal_encoding()."<br>";
?>

Without php5-suhosin the above test script works well:
utf-8
UTF-8

With php5-suhosin the mb_internal_encoding is not set correctly:
utf-8
ISO-8859-1

This breaks several mb_* functions, especially mb_encode_mimeheader().


-- System Information:
Debian Release: 6.0.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/8 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages php5-suhosin depends on:
ii libapache2-mod-php5 [p 5.3.3-7+squeeze15 server-side, HTML-embedded scripti ii libc6 2.11.3-4 Embedded GNU C Library: Shared lib ii php5-cgi [phpapi-20090 5.3.3-7+squeeze15 server-side, HTML-embedded scripti ii php5-cli [phpapi-20090 5.3.3-7+squeeze15 command-line interpreter for the p

php5-suhosin recommends no packages.

php5-suhosin suggests no packages.

-- no debconf information

--
Mit freundlichen Grüßen,

Jörg Ludwig

IServ GmbH
Bültenweg 73
38106 Braunschweig

Telefon:     0531-2243666-0
Fax:         0531-2243666-9
Mobil:       0179-9101055
E-Mail:      joerg.lud...@iserv.eu
Internet:    www.iserv.eu
USt.-IdNr.:  DE265149425


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to