Welcome Guest, Not a member yet? Register   Sign In
Accentuated characters in url
#3

[eluser]nico060475[/eluser]
This url can be obtain when submitting a form on the site.

Some JavaScript intercept the form submission and rewrite the url. If JavaScript is disabled then the classical form submission is used with values as get parameters (and the accentuated characters work).

You can go to http://pixbreak.free.fr and type "vendée" in search box with and without javascript activated to see it in action.

So the transliterate can be done client side before submitting but I don't like the idea of loosing such information before doing the search.

Edit : The controler used with and without javascript activated is the same but there is some URI routing implied.


Messages In This Thread
Accentuated characters in url - by El Forum - 06-25-2008, 01:47 AM
Accentuated characters in url - by El Forum - 06-25-2008, 02:33 AM
Accentuated characters in url - by El Forum - 06-25-2008, 03:20 AM
Accentuated characters in url - by El Forum - 06-25-2008, 03:41 AM
Accentuated characters in url - by El Forum - 09-05-2008, 08:56 AM
Accentuated characters in url - by El Forum - 09-05-2008, 09:15 AM
Accentuated characters in url - by El Forum - 09-05-2008, 09:26 AM
Accentuated characters in url - by El Forum - 09-05-2008, 09:49 AM
Accentuated characters in url - by El Forum - 09-05-2008, 10:05 AM



Theme © iAndrew 2016 - Forum software by © MyBB