> From: Scott Moore [mailto:[EMAIL PROTECTED]
> Thanks for the reply.  When the file is output using a FileWriter, the
> following XML declaration is placed at the top of the file:
>
> <?xml version="1.0" encoding="UTF-8"?>
>
> Doesn't this mean it was output in UTF-8?  If that's not the
> case, how do I specify the encoding?

FileWriter is not the right tool for the job; you want a FileOutputStream in
this case -- and in most others.  FileWriter uses the default encoding.

        -- Paul


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to