You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Kohsuke Kawaguchi (JIRA)" <ji...@codehaus.org> on 2007/12/17 20:36:57 UTC

[jira] Commented: (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:comment-tabpanel#action_117104 ] 

Kohsuke Kawaguchi commented on MIDEA-89:
----------------------------------------

Yes. That's it. Thanks!

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