I do use @charset (utf-8); even if it actually serves no purpose: some time ago I've put it in my default CSS template file and never cared about it anymore...

You can safely remove the BOM from any utf-8 document, as it serves no purpose: http://www.unicode.org/faq/utf_bom.html#29.

If your Unicode text editor doesn't allow to save your file without it, just open the file in a plain text editor and delete the first two characters: it won't mess the remaining text.

djn

Gene Falck wrote:
Hi Paul and Russ,

Paul wrote:

And how do you get around the UTF-8 signature or byte order mark (BOM) that
some editors add to the document?


I see you already have some replies on this BOM bit.

For looking over your file format (and also simply
deleting the BOM) you might also try a utility like
XVI32.exe which displays your file character by
character along side the hex values. Anything that
your editor puts before the DOCTYPE will put you
into quirks mode so the BOM (and anything else the
editor inserted at the beginning of the file) can
and probably should be deleted.

I like XVI32 a lot because I don't have a lot of
files to run in batch and I was curious what was
happening.

Regards,

Gene Falck
[EMAIL PROTECTED]


******************************************************
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************





--
Dejan Kozina
Dolina 346 (TS) - I-34018 Italy
tel./fax: +39 040 228 436 - cell.: +39 348 7355 225
http://www.kozina.com/  - e-mail: [EMAIL PROTECTED]
******************************************************
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************

******************************************************
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************

Reply via email to