cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bertrand Delacretaz <bdelacre...@apache.org>
Subject Re: svn commit: r111262 - in cocoon/branches/BRANCH_2_1_X/src: java/org/apache/cocoon/components/flow webapp/WEB-INF
Date Thu, 09 Dec 2004 06:24:19 GMT
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

Mime
View raw message