On my page I have a set of links (page types) that loads its content 
dynamically when user clicks on the link. Clicking on each link calls a 
"LoadPage" javaScript function that calls python function that loads page 
content and puts it in "pageType" DIV. 
 
function LoadPage(pageType)
        {        
            ajax('{{=URL("default", "ajax_LoadPage")}}' + '/' + {{=user_id}} 
+ '/' + pageType, [], pageType); 
        }

Called ajax function users request.args[0] to retrieve pageType.

if "pageType" is ascii string (i.e: "default/ajax_loadPage/1/Kalc") then 
page is loaded without problems. But as soon as non-ascii characters are 
introduced as args (i.e:"default/ajax_loadPage/1/KalĨ") ajax function is 
not called. 

Is there a way to call ajax function this way and function and pass it a 
non-ascii argument?



-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to