And by the way, please check the NOTE: on for the use of header().
Something's missing in the way you used it--perhaps, this is causing the

- E

Note:  HTTP/1.1 requires an absolute URI as argument to Location:  including
the scheme, hostname and absolute path, but some clients accept relative
URIs. You can usually use $_SERVER['HTTP_HOST'], $_SERVER['PHP_SELF']  and
dirname() to make an absolute URI from a relative one yourself:

header("Location: http://".$_SERVER['HTTP_HOST']

On Tuesday, September 10, 2002 3:15 PM

> Hello,
> On Tuesday, September 10, 2002 1:52 PM
> Jean-Christian Imbeault wrote:
> <snip>
> > 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: ") ...
> </snip>
> I just wonder how do you know that the POST variable are in EUC-JP. Did
> set this in your ini? Or, did you encode your php files in EUC-JP and you
> have the directive inside <meta> tags?
> I think you may want to play with these settings:
>   mbstring.internal_encoding
>   mbstring.http_input
>   mbstring.http_output
>   mbstring.detect_order
> Or, you can try the "Multi-Byte String Functions" (
> ) to convert from one
> to another. Just experiment a bit... still if nothing works, perhaps, we
> try something again later...
> - E
> --
> PHP General Mailing List (
> To unsubscribe, visit:

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to