Re: Re: json_encode() behavior and the browser
| From: | Christoph Boget | Date: | Wed, 01 Sep 2010 13:48:24 +0000 |
| Subject: | Re: Re: json_encode() behavior and the browser | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-307809@lists.php.net to get a copy of this message | ||
> It can have something to do with your browser codification (UTF8,
> ISO-8859-???).
But why would that be the case? Is json_encode() actually encoding
the string differently in each case? And would it encode it
differently if I wrote a script to take the same input and ran it from
the command line?
Is there a way I can get around this on the back end? Make it so that
it'll behave the same in all cases?
thnx,
Christoph