My bad. I should have put a more specific question. Is there a way that I can force castor to use a particular type of encoding while unmarshalling?
-----Original Message----- From: Elias Torres [mailto:[EMAIL PROTECTED] Sent: Friday, June 20, 2003 4:46 PM To: [EMAIL PROTECTED] Subject: Re: [castor-dev] Default encoding in Castor -- Help 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 ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev
