如何在地址栏中显示非标准字符? [英] How do I show non-standard characters in the address bar?
本文介绍了如何在地址栏中显示非标准字符?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个bug问题。对于我制作的网站,有搜索引擎友好的URL生成。唯一的问题是在URL中有ß-chars。像ö,ï,ä,ü等字符被放置正确。但是ß-char有一个带有问号的菱形图标。
I have a bugging problem. For a website I made there are search engine friendly URL's generated. The only problem is there are ß-chars in the url too. Chars like ö, ï, ä, ü etc. are placed correct. But with the ß-char there is a diamond-icon with a questionmark in it.
我认为它与使用的字符集有关,但我试过UTF-8和iso-8859-1。两个都没有运气。
I thought it had to do with the charset which is used but i've tried both UTF-8 and iso-8859-1. Both without luck.
我需要在url中有正确的字符以便deeplink的可读性。
I need to have the correct character in the url for the readability of deeplinks.
推荐答案
解决了 iconv
函数的问题。
这篇关于如何在地址栏中显示非标准字符?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文