Should I use accented characters in URLs?

后端 未结 5 609
我寻月下人不归
我寻月下人不归 2020-12-01 02:31

When one creates web content in languages different than English the problem of search engine optimized and user friendly URLs emerge.

I\'m wondering whether it is t

5条回答
  •  抹茶落季
    2020-12-01 03:24

    You should avoid non-ASCII characters in URLs that may be entered in browser manually by users. It's ok for embedded links pre-encoded by server.

    We found out that browser can encode the URL in different ways and it's very hard to figure out what encoding it uses. See my question on this issue,

    Handling Character Encoding in URI on Tomcat

提交回复
热议问题