url-style

What to do with a community URL style like Last.FM or Wikipedia?

拈花ヽ惹草 提交于 2019-12-22 09:49:24
问题 I'm trying to understand how I should work with characters in URLs , this because I'm building a site where the user can store content and go to the content's page by digiting it's name in the URL . so, something like Wikipedia or Last.FM website. I see in the site, user can write something like http://it.wikipedia.org/wiki/Trentemøller and the page of the artist can reached. after the page is loaded, if I copy the URL i see written as: http://it.wikipedia.org/wiki/Trentemøller but if I paste

What to do with a community URL style like Last.FM or Wikipedia?

时光总嘲笑我的痴心妄想 提交于 2019-12-05 23:53:58
I'm trying to understand how I should work with characters in URLs , this because I'm building a site where the user can store content and go to the content's page by digiting it's name in the URL . so, something like Wikipedia or Last.FM website. I see in the site, user can write something like http://it.wikipedia.org/wiki/Trentemøller and the page of the artist can reached. after the page is loaded, if I copy the URL i see written as: http://it.wikipedia.org/wiki/Trentemøller but if I paste it into a text editor, it will be pasted as http://it.wikipedia.org/wiki/Trentem%C3%B8ller so the char