restore offline inspections results

This commit is contained in:
anna
2011-04-14 21:12:05 +02:00
parent fca3fe03cc
commit a96895fac0
@@ -321,7 +321,7 @@ public class GlobalInspectionContextImpl extends UserDataHolderBase implements G
new File(outputPath).mkdirs();
final File file = new File(outputPath, toolName + ext);
if (isLocalTool) {
FileUtil.writeToFile(file, "</" + InspectionsBundle.message("inspection.problems") + ">");
FileUtil.writeToFile(file, ("</" + InspectionsBundle.message("inspection.problems") + ">").getBytes("UTF-8"), true);
}
else {
PathMacroManager.getInstance(getProject()).collapsePaths(doc.getRootElement());