#19300 [Opn->Csd]: $_POST vars lost chars when parse form

From: Date: Sat, 18 Jan 2003 16:56:06 +0000
Subject: #19300 [Opn->Csd]: $_POST vars lost chars when parse form
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-30479@lists.php.net to get a copy of this message
ID: 19300 Updated by: moriyoshi@php.net Reported By: wiseguy@ms10.url.com.tw -Status: Open +Status: Closed -Bug Type: Feature/Change Request +Bug Type: mbstring related Operating System: all PHP Version: 4.2.3 Previous Comments: ------------------------------------------------------------------------ [2002-09-09 01:26:31] wiseguy@ms10.url.com.tw 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 this bug report at http://bugs.php.net/?id=19300&edit=1

« previous php.bugs (#30479) next »