You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Dennis Lundberg (JIRA)" <ji...@codehaus.org> on 2008/03/08 20:47:28 UTC

[jira] Closed: (MIDEA-89) iml file generation done in the platform encoding, not UTF-8

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

Dennis Lundberg closed MIDEA-89.
--------------------------------

         Assignee: Dennis Lundberg
       Resolution: Fixed
    Fix Version/s: 2.2

A new SNAPSHOT has been deployed with a fix for this. Please verify that it works.

> iml file generation done in the platform encoding, not UTF-8
> ------------------------------------------------------------
>
>                 Key: MIDEA-89
>                 URL: http://jira.codehaus.org/browse/MIDEA-89
>             Project: Maven 2.x IDEA Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0
>            Reporter: Kohsuke Kawaguchi
>            Assignee: Dennis Lundberg
>             Fix For: 2.2
>
>
> When *.iml files are generated, characters are apparently encoded in the platform default encoding. This is inconsistent with the XML declaration placed in these files, which say UTF-8. So the resulting project files don't load correctly when some of the pathnames contain non-ASCII characters.
> I bet somewhere in the code you are doing just "new OutputStreamWriter(new FileOutputStream(...))" kind of things. Please change the code to use UTF-8.

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