Adding that switch just sets your platform default encoding - that is,
any operation that involves an encoding where one hasn't been
specified will use the platform default encoding, which in your case
was probably ISO-8859-1. That encoding didn't contain a mapping for
the character you are trying to output, so ? is used instead. Now
that the platform default encoding is set to UTF-8, that does contain
a mapping for your characters and so the correct bytes are written to
disk.
This probably also explains the lack of a bom.
Cheers,
Bryan Rasmussen
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--