BUG?: header("location: ") causes GET vars to be encoded in wrong charset in IE5.5

From: Date: Tue, 10 Sep 2002 04:52:35 +0000
Subject: BUG?: header("location: ") causes GET vars to be encoded in wrong charset in IE5.5
Groups: php.general php.i18n 
Request: Send a blank email to php-general+get-115819@lists.php.net to get a copy of this message
I have the following code which works fine in Netscape7 but doesn't in IE5.5 $maker_name = $_POST["maker_name"]; $loc = "show_products.php?maker_name=$maker_name&".SID; header("Location: $loc"); The problem is that the POST variables are coming in EUC-JP (japanese) correctly but for some reason IE re-encodes the variable into some other charset (SJIS I am guessing) when requesting the new page sent in the Header("location: ") ... So in Netscape I get redirected to this page: http://192.168.254.14/show_products_html.php?&maker_name=%C5%ED&PHPSESSID=34fbfc3284514b75887c0a6a593b919c But in IE I get this instead: http://192.168.254.14/show_products.php?maker_name=??& Is this a bug in IE (of course it is ;)? Is there a work around? Help! Jc

« previous php.general (#115819) next »