[
http://jira.codehaus.org/browse/MPMD-55?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_110084
]
John Allen edited comment on MPMD-55 at 10/16/07 12:53 PM:
-----------------------------------------------------------
Just encountered this ourselves, will try patch locally
was:
Just encountered this ourselves, what's the fix?
> The Xml pmd file isn't encode to UTF8 charset counter the charset declaration
> in the file header
> ------------------------------------------------------------------------------------------------
>
> Key: MPMD-55
> URL: http://jira.codehaus.org/browse/MPMD-55
> Project: Maven 2.x PMD Plugin
> Issue Type: Bug
> Reporter: pkernevez
> Attachments: PMD-UTF8-Encode.patch
>
>
> The Xml file (target/pmd.xml) declare an UTF-8 encoding: "<?xml version="1.0"
> encoding="UTF-8"?>" but use the FileWriter API that encode caracter with the
> default charset of the platform.
> Non ACSII caracter couldn't be read and xml file couldn't be parsed with Xml
> Parser due to this error.
> The patch contains the testcode and the correction
--
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