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).
So what are you doing exactly, to get something in a different encoding than one
of those? ;)