Hi Kornel, BOM is a Unicode standard. Without BOM, applications have to waste resources trying to figure character encoding. Here are some FAQs about BOM:
http://www.unicode.org/faq/utf_bom.html#22 The reason PHP breaks is because PHP does not support Unicode. Regards, -Vlad http://xstandard.com Standards-compliant XHTML WYSIWYG editor ----- Original Message ----- From: "Kornel Lesinski" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, December 20, 2004 9:30 AM Subject: Re: [WSG] neat code in A9 search > >> there appears some funny >> characters. >> >> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> > > This is another Microsoft "invention" - BOM marker used to recognize UTF-8 > files. > ByteOrderMarker makes no sense in UTF-8. > Notepad and other MS-tools silently insert it in all UTF-8 files, making > them invalid. > > This breaks HTML validation, causes trash in some browsers and breaks PHP4 > buffering... > > Use Notepad2 for unicode - http://www.flos-freeware.ch/notepad2.html > > > -- > regards, Kornel Lesiński > > ****************************************************** > 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 ******************************************************
