In solution 2 - I missed out then line
outputStreamWriter.close();
So the entire XML is written to the file
And inkscape accepts and displays the file
So in conclusion if I use solution 2 - then I get the desired encoding -
I've got a work around - my problem is solved. But
LSoutput setEncoding("UTF-8")
DOES NOT WORK
so i'd still like to know why
I would still appreciate some advice - as the StringBuffer solution may not
always work if the file gets too big!!!
doesnt work
--
View this message in context:
http://www.nabble.com/LSoutput-setEncoding%28%22UTF-8%22%29-ignored---output-XML-not-UTF-8-compliant-tp15988542p15988561.html
Sent from the Xerces - J - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]