浏览器不遵循charset规范 [英] browsers don't follow the charset specification
问题描述
我将以下行添加到我的html文件的标题中
< meta http-equiv =" content-type"含量=" text / html的; charset = utf-8">
希望浏览器使用UTF-8编码。但我尝试的所有浏览器仍然使用ISO-8859-1
。
我做错了什么?
谢谢,
小天
I added the following line to the header of my html file
<meta http-equiv="content-type" content="text/html; charset=utf-8">
hoping browsers will use UTF-8 encoding. But all browsers I tried still
use ISO-8859-1.
What did I do wrong?
Thanks,
Xiaotian
推荐答案
2005年3月10日星期四,Xiaotian Sun写道:
On Thu, 10 Mar 2005, Xiaotian Sun wrote:
我将以下行添加到我的html文件的标题中
< meta http-equiv =" content-type"含量=" text / html的; charset = utf-8">
希望浏览器使用UTF-8编码。但我尝试过的所有浏览器仍然使用ISO-8859-1。
I added the following line to the header of my html file
<meta http-equiv="content-type" content="text/html; charset=utf-8">
hoping browsers will use UTF-8 encoding. But all browsers I tried still
use ISO-8859-1.
您需要正确设置* web服务器*才能发送正确的
charset参数:
http ://www.w3.org/International/O-HTTP-charset.html
http://ppewww.ph.gla.ac.uk/~flavell/...t/ns-burp.html
请参阅comp.infosystems。 www.servers ... group for详情。
< meta charset>东西是多余的;摆脱它。
-
热门发布。
Usenet上最令人恼火的事情是什么?
You need to set up your *web server* correctly to send the right
charset parameter:
http://www.w3.org/International/O-HTTP-charset.html
http://ppewww.ph.gla.ac.uk/~flavell/...t/ns-burp.html
Please refer to a comp.infosystems.www.servers... group for details.
The <meta charset> thingy is superfluous; get rid of it.
--
Top-posting.
What''s the most irritating thing on Usenet?
Xiaotian Sun写道:
Xiaotian Sun wrote:
我添加了以下行到我的html文件的标题
< meta http-equiv =" content-type"含量=" text / html的; charset = utf-8">
希望浏览器使用UTF-8编码。但是我尝试的所有浏览器仍然使用ISO-8859-1。
I added the following line to the header of my html file
<meta http-equiv="content-type" content="text/html; charset=utf-8">
hoping browsers will use UTF-8 encoding. But all browsers I tried still
use ISO-8859-1.
发布我们可以检查的URL,也许服务器发送HTTP响应头
覆盖元。
-
Martin Honnen
http://JavaScript.FAQTs.com/
Xiaotian Sun< su ** @ berkeley.edu>写道:
Xiaotian Sun <su**@berkeley.edu> wrote:
我将以下行添加到我的html文件的标题中
< meta http-equiv =" content-type"含量=" text / html的; charset = utf-8">
希望浏览器使用UTF-8编码。但我尝试的所有浏览器仍然使用ISO-8859-1。
但是如果你的服务器发送了一个真正的内容类型标题,那么meta
标记将被忽略。
什么做了我做错了吗?
I added the following line to the header of my html file
<meta http-equiv="content-type" content="text/html; charset=utf-8">
hoping browsers will use UTF-8 encoding. But all browsers I tried still
use ISO-8859-1.
But if your server is sending out a real content-type header the meta
tag will be ignored.
What did I do wrong?
你试图假装应该做得恰到好处的东西。
史蒂夫
< br $> b $ b -
我的理论给你起见,我的异端邪说你们,
我从不回信,你不喜欢我的领带" - 医生
Steve Pugh< st *** @ pugh.net> < http://steve.pugh.net/>
You tried to fake something that should have been done properly.
Steve
--
"My theories appal you, my heresies outrage you,
I never answer letters and you don''t like my tie." - The Doctor
Steve Pugh <st***@pugh.net> <http://steve.pugh.net/>
这篇关于浏览器不遵循charset规范的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!