W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2002

RE: DOMString Character Encoding

From: Joseph Kesselman <keshlam@us.ibm.com>
Date: Thu, 21 Feb 2002 15:03:26 -0500
To: WWW DOM <www-dom@w3.org>
Message-ID: <OFA0A20973.B7476BCA-ON85256B67.006D4D58@pok.ibm.com>

XML text files can carry an optional byte order mark at the start of the
file (before the XML Declaration or Text Declaration, if any). It's the
responsibility of the parser and/or serializer to deal with that... so
outside of the question this raises about whether our Load/Store API needs
an option to control whether a BOM is to be generated, I don't think we
have to worry about it.


Java serialization is irrelevant to the DOM API, and I'm not quite sure why
we're discussing it... or why the byte ordering question came up in the
first place. The byte order in the DOMString is that of whatever datatype
the binding has used as its DOMString type, and the programmer generally
doesn't care.

______________________________________
Joe Kesselman  / IBM Research
Received on Thursday, 21 February 2002 15:04:03 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:55 GMT