I have a table with a field with non-ASCII names. And i want to use those to construct the url.
So, ie, a Spanish locality as "Aigües Tortes d'alt Ampurdà", I want to send the url: "http://mydomain/init/controller/function/<Aigües Tortes d'alt Ampurdà>'. In the view, in request.args(0), I want to recover the original name, that is "Aigües...." In my solution, first I created a dict to replaced every no-Ascii char of the string {"ü":"u","à":"a", ...........}, and to send the modificated name with the url, and with another dict {"Aigües Tortes d'alt Ampurdà":"Aigues_Tortes_dalt_Ampurda", ...........} recover the original name. But later, I read about idna (Internationalized Domain Names in Applications), and in this group , i read in this group that Jonathan Benn seems to implemet it in IS_URL. So my question is: How can i do that, (construct an URL with non-ASCII chars) in web2py? Thanks -- --- 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 [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

