Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.0
-
Fix Version/s: 2.2
-
Labels:None
-
Number of attachments :
Description
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.
I found this code in the class IdeaXmlWriter, that is used to write all files for this plugin.
new FileWriter( file )Would it be correct to change this to:
Can you provide a sample pom.xml file that I can use for testing?