Timur Izhbulatov wrote:
Marc Portier wrote:

I suggest adding
transformer.setOutputProperty(Packages.javax.xml.transform.OutputKeys.ENCO DING, "utf-8");
which will enforce utf-8 encoding to all saved content.


I'm sorry. I've forgot to change my stitemap to make it work with the xmldb source and the data were still writen to a file so I've seen the correct result.

? sorry. I'm afraid I don't understand what you tested and what was the outcome


When working with the xmldb source setting transformer's output encoding doesn't help =(

my turn to be sorry, I've running out of clues here maybe you can send over how your script looks like now

I have no idea what is the reason since you said that it's not in the cocoon source.

well I checked some code, and yeah, the transformer seems to get a pretty naked outputsource to work with


this means it will either take a default encoding (probably system dependent) if the above setOutputProperty wasn't specified.

-marc=
--
Marc Portier                            http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
Read my weblog at                http://blogs.cocoondev.org/mpo/
[EMAIL PROTECTED]                              [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to