Chrome中的HTML特殊字符转换为问号Mozilla的 [英] HTML Special Characters converted to question mark in Chrome & Mozilla
问题描述
当我在网站的搜索框中使用特殊字符á时,Chrome / Mozilla和IE浏览器的网址有所不同。搜索查询中的特殊字符转换为:
%E1
- 在Chrome / Mozilla的URL中,但在文本字段显示为?。
%26aacute%3B
- 在IE的URL中,textfield正确显示特殊字符á。这是正确的。
有人可以帮助解决此问题。
网站使用编码:
< meta http-equiv =content-typecontent =text / html; charset = UTF-8>
感谢您的帮助。
这发生在我本地的一个网站上。我用记事本创建了index.html文件,这是我的错误。
尝试将文件重新保存为ASCII或UTF-8(同时尝试)
,然后再次将其上传到您的Web服务器。
HTML Special Characters like á, Á are getting converted to ? in Chrome & Mozilla. It works fine in IE.
When I use special character á in the search box of the site, there is a difference in url for both Chrome/Mozilla and IE. Special Character in the search query is converted as:
%E1
- in URL of Chrome/Mozilla, but in text field it is displayed as ?.
%26aacute%3B
- in URL of IE, textfield correctly show the special character á. This is correct.
Can somebody help to fix this issue.
Site uses encoding:
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
Thanks for your help.
This happened to me on a local site. I've created the index.html file using Notepad, and it was my mistake.
Try to re-save the file as ASCII, or UTF-8 (try both)
and then upload it again to your web server.
这篇关于Chrome中的HTML特殊字符转换为问号Mozilla的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!