cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leszek Gawron <lgaw...@mobilebox.pl>
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 08:21:20 GMT
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                                      lgawron@mobilebox.pl
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

Mime
View raw message