RE: Problem writing UTF-8 XML with an Umlaut

2014-10-02 Thread Johnson, Wayne
-users@xerces.apache.org Subject: Re: Problem writing UTF-8 XML with an Umlaut In the code snippet you've shown you're writing to a StringWriter. That is a character stream which collects its output into a StringBuffer so you're not actually writing UTF-8 byte sequences anywher

Re: Problem writing UTF-8 XML with an Umlaut

2014-10-02 Thread Michael Glavassevich
In the code snippet you've shown you're writing to a StringWriter. That is a character stream which collects its output into a StringBuffer so you're not actually writing UTF-8 byte sequences anywhere here. Perhaps there's some conversion code (which you've haven't shown) which takes that String