ID: 29319 Updated by: [EMAIL PROTECTED] Reported By: j dot parree at net-communications dot de -Status: Open +Status: Feedback Bug Type: Unknown/Other Function Operating System: Suse Linux 9.2 PHP Version: 4.3.7 New Comment:
Are there any mbstring settings enabled in your php.ini? Previous Comments: ------------------------------------------------------------------------ [2004-07-22 11:16:50] j dot parree at net-communications dot de Description: ------------ Reading String Values containing special Chars (e.g. äüöß) from the $_POST-Array will result in having corrupt data. Doing the same with $HTTP_POST_VARS works fine. Configure Statement: --------------------------- './configure' '--prefix=/opt/lampp' '--with-apxs2=/opt/lampp/bin/apxs' '--with-config-file-path=/opt/lampp/etc' '--with-mysql=/opt/lampp' '--disable-debug' '--enable-bcmath' '--enable-calendar' '--enable-ctype' '--enable-dbase' '--enable-discard-path' '--enable-exif' '--enable-filepro' '--enable-force-cgi-redirect' '--enable-ftp' '--enable-gd-imgstrttf' '--enable-gd-native-ttf' '--with-ttf' '--enable-magic-quotes' '--enable-memory-limit' '--enable-safe-mode' '--enable-shmop' '--enable-sigchild' '--enable-sysvsem' '--enable-sysvshm' '--enable-track-vars' '--enable-trans-sid' '--enable-versioning' '--enable-wddx' '--enable-yp' '--with-ftp' '--with-gdbm=/opt/lampp' '--with-jpeg-dir=/opt/lampp' '--with-png-dir=/opt/lampp' '--with-tiff-dir=/opt/lampp' '--with-freetype-dir=/opt/lampp' '--without-xpm' '--with-zlib=yes' '--with-zlib-dir=/opt/lampp' '--with-openssl=/opt/lampp' '--with-expat-dir=/opt/lampp' '--enable-xslt' '--with-xslt-sablot=/opt/lampp' '-with-ming=/opt/lampp' '--with-dom=/opt/lampp' '--with-ldap=/opt/lampp' '--with-ncurses=/opt/lampp' '--with-gd' '--with-imap-dir=/opt/lampp' '--with-imap-ssl' '--with-imap=/opt/lampp' '--with-gettext=/opt/lampp' '--with-mssql=/opt/lampp' '--with-interbase=/opt/interbase' '--with-mysql-sock=/opt/lampp/var/mysql/mysql.sock' '--with-oci8=shared' '--with-mcrypt=/opt/lampp' '--with-mhash=/opt/lampp' '--enable-sockets' '--enable-mbstring=all' '--with-curl=/opt/lampp' '--enable-mbregex' '--enable-zend-multibyte' '--with-zip=/opt/lampp' '--enable-exif' '--with-bz2=/opt/lampp' --------------------------------- Software Versions: ---------------------------------------- - Apache 2.0.49 - MySQL 4.0.20 - PHP 4.3.7 - Perl 5.8.4 - ProFTPD 1.2.9 - phpMyAdmin 2.5.6 - OpenSSL 0.9.7d - GD 2.0.1 - Freetype 2.1.7 - libjpeg 6b - libpng 1.2.2 - gdbm 1.8.0 - zlib 1.1.4 - expat 1.2 - Sablotron 1.0 - libxml 2.4.26 - Ming 0.2a - Webalizer 2.01 - pdf class 009e - ncurses 5.8 - mod_perl 1.99_13 - FreeTDS 0.60 - gettext 0.11.5 - IMAP C-Client 2002b - OpenLDAP (client) 2.1.30 - mhash library 0.8.18 - mcrypt library 2.5.7 - Turck MMCache 2.4.6 - cURL 7.10.7 - SQLite (2.8.9) ---------------------------------------- Reproduce code: --------------- CODE: print_r($HTTP_POST_VARS['string']); print_r($_POST['string']); Expected result: ---------------- Expected: "Fünf Millionen Euro für Klose" Actual result: -------------- Actual: "F?Millionen Euro f?lose" ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=29319&edit=1