Pretty UTF-8 urls
Posted: Tue Jan 23, 2007 10:51 am
The problem... /site/About in English = site/ÜberUns in German as a website page (Ok may not be a good translation but will serve for now). When a person clicks on a link the status bar shows the information correctly (http://www.website.de/ÜberUns). When the page loads shows"http://www.website.de/%C3%9CberUns" as the url. Can I set the url to show nicely somehow ? Is this a browser thing (client) or can I do something (i.e. with headers or something) so the browser shows the url as expected. At present I am testing with Firefox.
The background : Using ZendFramework 0.7 we set the routing, by default to english. The site has the possibility for additional languages. When changing languages a different routing is used (to reflect the current language). This language translation may contain characters other than the standard A-Z etc. At present everything works fine, the url is correctly processed but the url does not look nice for the user. We also have a future requirement for Polish.
Hopefully you can understand what I am asking...
EDIT: My current understanding is this is not possible, but if it is I would like to know how. At the moment it would be up to the translators to use UeberUns instead of ÜberUns.
The background : Using ZendFramework 0.7 we set the routing, by default to english. The site has the possibility for additional languages. When changing languages a different routing is used (to reflect the current language). This language translation may contain characters other than the standard A-Z etc. At present everything works fine, the url is correctly processed but the url does not look nice for the user. We also have a future requirement for Polish.
Hopefully you can understand what I am asking...
EDIT: My current understanding is this is not possible, but if it is I would like to know how. At the moment it would be up to the translators to use UeberUns instead of ÜberUns.