You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Lukas Theussl (JIRA)" <ji...@codehaus.org> on 2007/05/29 09:51:58 UTC

[jira] Moved: (MPMD-55) The Xml pmd file isn't encode to UTF8 charset counter the charset declaration in the file header

     [ http://jira.codehaus.org/browse/MPMD-55?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lukas Theussl moved MPPMD-31 to MPMD-55:
----------------------------------------

    Workflow: Maven New  (was: jira)
         Key: MPMD-55  (was: MPPMD-31)
     Project: Maven 2.x Pmd Plugin  (was: maven-pmd-plugin)

> 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