Javier Rojas wrote:
> I'm using mochikit's loadJSONDoc function, but when some part of the url has
> accented chars, it doesn't work,
>
> in my case, I'm reading a name with prompt(), and then appending it to the
> url to load , e.g., "addPerson?tg_format=json&name="+name
>
> when is only ascii, it works, but no in other cases
> I already tried to use escape() on the string to be passed, but nothing,
>

When you say it doesn't work, can you narrow down where is the problem
occuring?  Is the proper encoded url being called (should be able to
check the server log).  Is the controller seeing the proper value (does
log.debug or printing of the name give you what you expect)?  Or is it
in the trip back to the kid template?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to