maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Herve Boutemy (JIRA)" <>
Subject [jira] Closed: (MPLUGIN-95) Output proper charset name in XDoc report for mojos
Date Tue, 01 Apr 2008 09:53:58 GMT


Herve Boutemy closed MPLUGIN-95.

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

applied in r643342

> Output proper charset name in XDoc report for mojos
> ---------------------------------------------------
>                 Key: MPLUGIN-95
>                 URL:
>             Project: Maven 2.x Plugin Tools
>          Issue Type: Improvement
>          Components: API
>    Affects Versions: 2.4
>            Reporter: Benjamin Bentmann
>            Assignee: Herve Boutemy
>            Priority: Minor
>             Fix For: 2.4.2
>         Attachments: registered-charset-name.patch
> My original patch for MPLUGIN-76 has an unintended side effect: {{OutputStreamWriter.getEncoding()}}
does not exactly report back the encoding supplied in the constructor. On a Sun JDK 1.6.0_04
for Windows, I observed that {{getEncoding()}} returnes "UTF8" instead of "UTF-8" as supplied
in the constructor.
> This might not be an issue as long as the XML file is only processed by Java-based code,
> # the [XML spec|] suggests
to use the string "UTF-8" to indicate that encoding
> # the [IANA charset database|] does not
mention "UTF8" as a valid alias for "UTF-8"
> # some non-Java programs really fail on parsing such a XML due to "unsupported encoding"

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message