Bertrand Delacretaz wrote:
Le 9 déc. 04, à 01:03, Leszek Gawron a écrit :

...
+<?xml version="1.0" encoding="UTF-8"?>

...

This is BOM (byte ordering mark). It is being written by some of xml editors to the beginning of the multibyte encoded (i.e. utf-8) xml file. The file I commited is a valid xml. Check in any xml editor/browser...


BOM has no meaning for UTF-8, see http://www.unicode.org/unicode/faq/utf_bom.html#BOM

It is certainly better *not* to use it, to avoid any confusion. On unixish OSes, many tools check the first four bytes of a file and expect them to be <?xm

-Bertrand
OK. No problem.

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.

--
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