diff --git a/plugins/hg4idea/src/org/zmlx/hg4idea/command/HgCatCommand.java b/plugins/hg4idea/src/org/zmlx/hg4idea/command/HgCatCommand.java index 6b02f52a3d1c..64b0e52c56f8 100644 --- a/plugins/hg4idea/src/org/zmlx/hg4idea/command/HgCatCommand.java +++ b/plugins/hg4idea/src/org/zmlx/hg4idea/command/HgCatCommand.java @@ -39,6 +39,7 @@ public class HgCatCommand { final HgCommandExecutor executor = new HgCommandExecutor(myProject); executor.setOptions(Collections.emptyList()); executor.setSilent(true); + executor.setCharset(charset); final HgCommandResult result = executor.executeInCurrentThread(hgFile.getRepo(), "cat", arguments); if (result == null) { // in case of error