http://castor.exolab.org/xml-faq.html
...
String encoding = "ISO-8859-1";
FileOutputStream fos = new FileOutputStream("result.xml");
OutputStreamWriter osw = new OuputStreamWriter(fos,
encoding);
Marshaller marshaller = new Marshaller(osw);
marshaller.setEncoding(encoding);
...
Regards,
Elias
-----Original Message-----
From: Ethakota, Lavakishan [mailto:[EMAIL PROTECTED]
Sent: Friday, June 20, 2003 2:25 PM
To: [EMAIL PROTECTED]
Subject: [castor-dev] Default encoding in Castor -- Help
Hi,
What is the default encoding used by castor (UTF-8 or Unicode etc)? Is
there anyway we can force Castor to use a particular type of encoding?
Regards,
-Lav-
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev