zz wrote:
            nsCString charset;

Make that nsString. Then you'll have to convert to UTF8 to get the string to pass to the encoder.

so, the same nsCString_external & nsAString problem.

No, this is a different problem. You're passing a narrow string to a function that wants a wide one.

The real problem is can I use nsIDocumentEncoder to serialize a nsDOMDocument in an embedding program?

Look to me like you should be able to, yes.

-Boris
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to