Elli Vizcaino wrote:
> Hello,
> 
> I think this might be a little off topic but it's related to validating CSS. 
> As of late, my documents have been validating but I get this warning: 
> "Byte-Order Mark found in UTF-8 File" - I'm clueless as to what this really 
> means. Can someone please elaborate? I think the default settings in the 
> latest version of Dreamweaver automatically set the meta content type to: 
> 
> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
> 
> where as before it used to be set to: 
> 
> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
> 
> 
> TIA,
> Elli 
> 
Hi Elli,

There are actually easy rules to follow, when it comes to file encoding. 
  If the the file itself is in UTF-8 format, than add
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
since then all the characters in the file will be UTF-8 and to get a 
correct rendering(!) of letters and validation you have set the correct 
content type for your document.

This is especially important with all sorts of European languages, since 
an Ä or ä has a totally differnt encoding in UTF-8 than ISO-8859-1. 
Would the document itself be in UTF-8, but the Meta-Tag Content-Type in 
ISO-8859-1, than those letters would look weird and garbled.

So that is why you get the validation warning, so that you can always 
ensure to have the correct file encoding with the correct Meta-Tag 
Content-Type!

regards, Jens
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to