View Single Post

  #3 (permalink)  
Old 01-05-2008
J.O. Aho
 
Posts: n/a
Default Re: problem with php, json, browser, charset

Pugi! wrote:
> I've expiremented a bit with escape for javascript and urlencode for
> PHP.
> They have a different outcome for ° (symbol for degrees):
> javascript: %B0
> PHP: %C2%B0
> Could this be the cause for my problems ?


Sure that will make a difference, I guess you have UTF-8 on the PHP side while
on the javascript uses ISO8859-1



--

//Aho
Reply With Quote