From:  Boris Zbarsky <bzbarsky@mit.edu>
Date:  09 Nov 2005 00:34:17 Hong Kong Time
Newsgroup:  news.mozilla.org/netscape.public.mozilla.layout
Subject:  

Re: Unicode in the DOM ?

NNTP-Posting-Host:  adsl-69-209-222-74.dsl.chcgil.ameritech.net

Emile Kroeger wrote:
> I'd like to access text from the webpage in unicode format. However,
> when I parse the DOM tree of the browser content

I'm not sure what you mean.  Parsing is the process that turns a stream of 
characters into a DOM tree.  You don't parse the DOM tree.

All data in the DOM in Mozilla is stored either in UTF16, UTF8, or ASCII 
(depending on the exact piece of data).

All data in JavaScript is in UCS-2.

So what are you doing exactly, to get something in a different encoding than one 
of those?  ;)

-Boris