You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Vincent Siveton (JIRA)" <ji...@codehaus.org> on 2008/02/19 23:54:29 UTC
[jira] Commented: (MPLUGIN-76) Fixed file encoding employed by
PluginXDocGenerator
[ http://jira.codehaus.org/browse/MPLUGIN-76?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_124391 ]
Vincent Siveton commented on MPLUGIN-76:
----------------------------------------
Better should be to use WriterFactory.newWriter( file, encoding )
> Fixed file encoding employed by PluginXDocGenerator
> ---------------------------------------------------
>
> Key: MPLUGIN-76
> URL: http://jira.codehaus.org/browse/MPLUGIN-76
> Project: Maven 2.x Plugin Tools
> Issue Type: Bug
> Components: API
> Affects Versions: 2.3
> Reporter: Benjamin Bentmann
> Attachments: file-encoding.patch
>
>
> The class currenlty uses the platform's default encoding (say ISO-8859-1) to write a XML file without a XML declaration such that readers will assume UTF-8 instead. The patch enforces UTF-8 output and (as a best practice) adds the XML declaration to the output file.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira