You should set the charset of your page by meta tag in its head. 2010/9/1 Christoph Boget <christoph.boget@xxxxxxxxx> > > 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 > -- João Cândido de Souza Neto