W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2006

Re: Creating DOM that is encoded in "ISO-8859-1"

From: Joseph Kesselman <keshlam@us.ibm.com>
Date: Thu, 20 Jul 2006 10:38:37 -0400
To: www-dom@w3.org
Message-ID: <OF431763B4.D4CABA74-ON852571B1.005056F5-852571B1.005070B9@us.ibm.com>

(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 : Friday, 22 June 2012 06:13:58 GMT