#19300 [NEW]: $_POST vars lost chars when parse form

From: Date: Mon, 09 Sep 2002 06:26:31 +0000
Subject: #19300 [NEW]: $_POST vars lost chars when parse form
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-18721@lists.php.net to get a copy of this message
From: wiseguy@ms10.url.com.tw Operating system: all PHP version: 4.2.3 PHP Bug Type: Feature/Change Request Bug description: $_POST vars lost chars when parse form page1.htm : ======================== <form method="POST" action="page2.php"> <input type="text" name="title"> <input typt="submit"> </form> ======================== When the inputbox content is BIG5 encoding words, after submiting, the $_POST['title'] variable will lose pre-words. example: input = ´ú¸Õ¤@¤U $_POST['title'] = "¤@¤U" ########################################################### configure line: CC=gcc \ CFLAGS="-O6 -mcpu=pentiumpro" \ ./configure \ --enable-track-vars \ --enable-inline-optimization \ --enable-mbstring \ --enable-mbstr-enc-trans \ --enable-ctype \ --disable-wddx \ --disable-debug \ --disable-experimental-zts \ --with-xml \ --with-mcrypt=/usr/local \ --with-dom=/usr/local \ --with-zlib-dir=/usr/local \ --with-mysql=/usr/local/mysql \ --with-iconv=/usr/local \ --with-apxs=/usr/local/apache/bin/apxs \ --prefix=/usr/local -- Edit bug report at http://bugs.php.net/?id=19300&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=19300&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=19300&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=19300&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=19300&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=19300&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=19300&r=support Expected behavior: http://bugs.php.net/fix.php?id=19300&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=19300&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=19300&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=19300&r=globals

« previous php.bugs (#18721) next »