You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Herve Boutemy (JIRA)" <ji...@codehaus.org> on 2010/04/18 10:42:13 UTC

[jira] Closed: (MPMD-93) CPD writes XML report with wrong encoding

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

Herve Boutemy closed MPMD-93.
-----------------------------

       Resolution: Fixed
    Fix Version/s: 2.5
         Assignee: Herve Boutemy

for CPD report, the problem is not related to MPMD-83, but to a more specific CPD report bug: report file in site directory was using platform encoding, where the same report in target directory was using UTF-8

fixed in r935316: now both files use UTF-8

> CPD writes XML report with wrong encoding
> -----------------------------------------
>
>                 Key: MPMD-93
>                 URL: http://jira.codehaus.org/browse/MPMD-93
>             Project: Maven 2.x PMD Plugin
>          Issue Type: Bug
>          Components: CPD
>    Affects Versions: 2.4
>            Reporter: Ulli Hafner
>            Assignee: Herve Boutemy
>             Fix For: 2.5
>
>
> We have Java Files encoding in our default Locale (latin 1):
>     <project.build.sourceEncoding>ISO-8859-1</project.build.sourceEncoding>
> When running CPD on a Java file that contains german umlauts then CPD produces a cpd.xml file with defined encoding of UTF-8 that contains some invalid characters in latin 1 instead of UTF-8.
> Maybe the same problem as described in  Bug MPMD-83.

-- 
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