strange problem - different encoding linux windows in xslt

M

matatu

Hi to all,

my program java applies some trasforms xslt to a file xml using the
attribute encoding = "ISO-8859-1": it work fine under windows xp, but if
I run the program on a pc with redhat ES the file output it contains '?'
to the place of the accented characters...

I apply the trasforms like following:

tFactory = TransformerFactory.newInstance();
transformer = tFactory.newTransformer(new
javax.xml.transform.stream.StreamSource(arrayXslt[0]));
transformer.transform(new
javax.xml.transform.stream.StreamSource(finput),new
javax.xml.transform.stream.StreamResult (new
FileOutputStream(arrayOut[0])));

I hope to have been clear...

thank you for any suggestion
Mark
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,239
Members
46,828
Latest member
LauraCastr

Latest Threads

Top