Fix file encoding used to generate xdoc report
----------------------------------------------

                 Key: MFINDBUGS-50
                 URL: http://jira.codehaus.org/browse/MFINDBUGS-50
             Project: Maven 2.x FindBugs Plugin
          Issue Type: Bug
    Affects Versions: 1.1.1
            Reporter: Benjamin Bentmann
         Attachments: file-encoding.patch

{{[FileWriter|http://java.sun.com/javase/6/docs/api/java/io/FileWriter.html]}} 
uses the platform default encoding while the {{FindbugsXdocSink}} blindly 
assumes Latin-1. This can lead to garbage XML output.

The patch enforces UTF-8 encoding for the writer and as a side effect enables 
the report to properly output all Unicode characters, making the report usable 
to Non-Western users.

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

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to