Thanks.  Sounds good. 

Nicholas D. Thayer
 
-----Original Message-----
From: Alberto Massari [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 19, 2008 2:13 AM
To: [email protected]
Subject: Re: BOM for UTF-8

[EMAIL PROTECTED] wrote:
> Hello,
>  
> Has there been any discussion or thought to adding a BOM to a UTF-8 
> serialized file if the developer specifically set the BOM feature?  By

> default, this should not exist, but the BOM is pretty useful for 
> certain editors to correctly identify the underlying encoding if they 
> are not parsing the first line.

Hi Nicholas,
as the "http://apache.org/xml/features/dom/byte-order-mark"; feature is 
by default set to "false", it would be safe to print the BOM even when 
UTF-8 is the encoding. We'll make the change for Xerces 3.0.

Alberto


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to