I guess you could use the following instead:
Ape.log(decodeURI(params.spacebar));
even
Ape.log(unescape(decodeURI(params.spacebar)));
to get UTF8 characters fine.
Erick Romero
[email protected]
------------------------------
Caminando hacia lo infinito,
puedo pensar en lo imaginable.
On 06/02/2011 08:19 AM, Raul Ordóñez wrote:
Hello,
When sending an object to the server, if the element has a spacebar "
", in the params.object the value will be "%20".
client side:
client.core.request.send("example",{"spacebar","example 1"});
serverside:
Ape.registerCmd("example", true, function(params, info){
Ape.log(params.spacebar);
});
Ape log:
example%201
Should I prepare my own script which solves that or there is anything
about this already made?
Thanks!
--
You received this message because you are subscribed to the Google
Groups "APE Project" 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/ape-project?hl=en
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/
Git Hub : http://github.com/APE-Project/