You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Felipe Cuozzo (JIRA)" <ji...@codehaus.org> on 2009/12/16 16:22:55 UTC

[jira] Updated: (MCHANGES-144) The encoding of JIRA xml file is not UTF-8

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

Felipe Cuozzo updated MCHANGES-144:
-----------------------------------

    Attachment: jira-results.zip

I've zipped the files to avoid any corruption of the character encodings.

Inside it you will find 2 files:

*jira-results.xml*: is the file generate using the default plataform encoding.

*jira-results-forcing-UTF-8.xml*: is the file generated when the -Dfile.encoding=UTF-8 system parameter was added to the Maven execution arguments.

> The encoding of JIRA xml file is not UTF-8
> ------------------------------------------
>
>                 Key: MCHANGES-144
>                 URL: http://jira.codehaus.org/browse/MCHANGES-144
>             Project: Maven 2.x Changes Plugin
>          Issue Type: Bug
>          Components: jira-report
>    Affects Versions: 2.1
>         Environment: JIRA Enterprise Edition V3.10.1, JDK 1.5.0_15, Maven 2.0.9
>            Reporter: Sonix William Legend
>         Attachments: jira-results.zip
>
>
> If the JIRA encoding is not UTF-8, the program generated the jira report throws a exception. 
> "org.xml.sax.SAXParseException: Invalid byte 1 of 1-byte UTF-8 sequence."
> So I think you should add a parameter that set the encoding.

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