You are here: Re: problem with php, json, browser, charset « PHP Language « IT news, forums, messages
Re: problem with php, json, browser, charset

Posted by Pugi! on 01/06/08 12:14

On 5 jan, 20:40, "J.O. Aho" <u...@example.net> wrote:
> 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

No both have utf-8. For JSON I used a script I found on the internet
and the YUI JSON (beta), both have same errors.
There is something in the way IE7 sends the data that makes it
impossible to process by json_decode. Using escape en urldecode,
nothing works anymore.

Any ideas ?

Pugi!

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация