(Actually, I should have said "DOM API", not "DOM data structure". A DOM implementation may or may not be using UTF-16 internally, but the DOM APIs will present the data that way.) ______________________________________ "... Three things see no end: A loop with exit code done wrong, A semaphore untested, And the change that comes along. ..." -- "Threes" Rev 1.1 - Duane Elms / Leslie Fish (http://www.ovff.org/pegasus/songs/threes-rev-11.html) Joseph Kesselman/Watson/ IBM To 07/20/2006 10:36 cc AM www-dom@w3.org, www-dom-request@w3.org Subject Re: Creating DOM that is encoded in "ISO-8859-1"(Document link: Joseph Kesselman) The DOM data structure always uses the UTF-16 encoding. When you write it out as textual XML, most serializers will let you specify the encoding; see the documentation for the serializer you're using (the DOM Level 3 load/save chapters, or the documentation for whatever other tool you're using.) ______________________________________ "... Three things see no end: A loop with exit code done wrong, A semaphore untested, And the change that comes along. ..." -- "Threes" Rev 1.1 - Duane Elms / Leslie Fish ( http://www.ovff.org/pegasus/songs/threes-rev-11.html)Received on Thursday, 20 July 2006 14:46:15 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 October 2009 08:24:58 GMT