Ah, yup. I use writeToString. The problem I have with UTH-16 seems to be that Java's DocumentBuilder.parse() does not seem to like UTF-16. I build up a ByteArrayInputStream from a String representation of the output (I use a C++ Xerces app to construct, send to a Java app). If I have UTF-16 I always get a sun.io.malformedInputException (comment: "missing byte order mark"). If I strstr it to UTF-8, it is happy...
-Scott --- Gareth Reakes <[EMAIL PROTECTED]> wrote: > Hi, > did you use writeToString? If so then it ignores > the setting in > DOMWriter and gives back UTF-16. > > __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]