Vadim Gritsenko wrote:
Antonio Gallardo wrote:

On Jue, 9 de Diciembre de 2004, 2:49, Leszek Gawron dijo:

Bertrand Delacretaz wrote:

Le 9 déc. 04, à 09:21, Leszek Gawron a écrit :

...By the way: it is a little bit different on win32. Some tools
detect utf encoding by checking for BOM. If there is none - ANSI
encoding is assumed...


AFAIU this is ok for 16-bit based encodings, not for UTF-8.

http://www.xencraft.com/resources/unicodebom.html

...


M$ again.


This is the standard:

http://www.zvon.org/tmRFC/RFC3023/Output/chapter8.html#sub1 :-D


No, it's not. The standard is:
  http://www.w3c.org/TR/2004/REC-xml11-20040204/#NT-XMLDecl

XML *must* start with '<?xml'. So no MS junk of any kind is allowed. Please don't use notepad - vim and far both have syntax highlight and do not write boms of any kind :)
I am not using notepad :). Apparently even sophisticated win32 text editors (like my favourive UltraEdit) support UTF-8 BOMs.

--
Leszek Gawron                                      [EMAIL PROTECTED]
Project Manager                                    MobileBox sp. z o.o.
+48 (61) 855 06 67                              http://www.mobilebox.pl
mobile: +48 (501) 720 812                       fax: +48 (61) 853 29 65

Reply via email to