更新时间:2022-06-17 05:49:41
当遇到类似的问题时,我利用了URL 重写 以允许通过重音或非重音字符访问此类页面.实际的 URL 类似于
When faced with a similar problem, I took advantage of URL rewriting to allow such pages to be accessible by either the accented or unaccented character. The actual URL would be something like
http://www.mysite.com/myresume.html
并且重写+字符翻译功能允许此引用
And a rewriting+character translating function allows this reference
http://www.mysite.com/myresumé.html
加载相同的资源.因此,为了回答您的问题,作为主要资源标识符,我将自己限制在 0-9、A-Z、a-z 和偶尔使用的连字符.
to load the same resource. So to answer your question, as the primary resource identifier, I confine myself to 0-9, A-Z, a-z and the occasional hyphen.