Thanks to all for your help. Using a FileOutputStream has fixed the problem.
Scott > -----Original Message----- > From: Mark Thornton [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 23, 2002 11:43 AM > To: [EMAIL PROTECTED] > Subject: RE: Escaping ● > > > You didn't list the code used to create the 'writer'. I think > xerces gets the encoding from the DocumentFormat (which I > think defaults to UTF-8), but there is no check that this > matches the encoding you used to create the writer. As Paul > Brown has just posted, FileWriter defaults to the platform > encoding which is usually not UTF-8. > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
