字符集是否与地理区域相关?@H_502_3@
编辑:@H_502_3@
有什么好处,把这个代码@charset“utf-8”;@H_502_3@
或者像这样< link type =“text / css; charset = utf-8”rel =“stylesheet”href =“..”/>@H_502_3@
我找到了这个@H_502_3@
If DreamWeaver adds the tag when you
add embedded style to the document,
that is a bug in DreamWeaver. From the
W3C FAQ:@H_502_3@“For style declarations embedded in a
document,@charset rules are not
needed and must not be used.”@H_502_3@The charset specification is a part of
CSS since version 2.0 (may 1998),so
if you have a charset specification in
a CSS file and Safari can’t handle it,
that’s a bug in Safari.@H_502_3@
并在表单中添加accept-charset@H_502_3@
<form action="/action" method="post" accept-charset="utf-8">
如果我使用xhtml doctype应该使用什么@H_502_3@
<?xml version="1.0" encoding="UTF-8"?>
要么@H_502_3@
<Meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
解决方法
注意有几种口味的unicode。 Joel Spolsky gives an overview。@H_502_3@