diff --git a/platform/lang-impl/src/com/intellij/codeInspection/ex/GlobalInspectionContextImpl.java b/platform/lang-impl/src/com/intellij/codeInspection/ex/GlobalInspectionContextImpl.java index c5271749f496..7f993a74af38 100644 --- a/platform/lang-impl/src/com/intellij/codeInspection/ex/GlobalInspectionContextImpl.java +++ b/platform/lang-impl/src/com/intellij/codeInspection/ex/GlobalInspectionContextImpl.java @@ -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, ""); + FileUtil.writeToFile(file, ("").getBytes("UTF-8"), true); } else { PathMacroManager.getInstance(getProject()).collapsePaths(doc.getRootElement());