Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 20th, 2005, 08:48 AM
matatu
Guest
 
Posts: n/a
Default strange problem - different encoding linux windows in xslt

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),ne w
javax.xml.transform.stream.StreamResult (new
FileOutputStream(arrayOut[0])));

I hope to have been clear...

thank you for any suggestion
Mark

 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles