And in reverse, try escape() as the encoding function in JS and
rawurldecode() as the PHP function.

On 03/03/07, xpmstos <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> i want to use JSON with prototype, if i can with it send JSON data to
> my RPC server, and not only like the most JSON + prototype examples in
> the internet, wich tell me only how i can remote JSON data from my RPC
> server.
> But i think, prototype encodeURI my JSON string before send to the
> server.
>
> That is my result on the server which using the prototype
> Ajax.request:
>
> %7B%22method%22%3A%22foo%3A%3Abar%22%2C%22params%22%3A%...
>
> That is what i need:
>
> {"method":"foo::bar","params":...
>
> Can i deaktivate encodeURI in the prototype Ajax.request? Or have i
> ignored Something other?
>
>
> >
>


-- 
-----
Richard Quadling
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
"Standing on the shoulders of some very clever giants!"

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to