diff -r 734353e7d679 -r e92f0dd51979 Plugins/VcsPlugins/vcsMercurial/HgDialog.py --- a/Plugins/VcsPlugins/vcsMercurial/HgDialog.py Sun Feb 23 15:24:28 2014 +0100 +++ b/Plugins/VcsPlugins/vcsMercurial/HgDialog.py Sun Feb 23 19:20:43 2014 +0100 @@ -45,6 +45,7 @@ self.username = '' self.password = '' self.__hgClient = hg.getClient() + self.vcs = hg self.outputGroup.setTitle(text) @@ -198,7 +199,7 @@ """ if self.proc is not None: s = str(self.proc.readAllStandardOutput(), - Preferences.getSystem("IOEncoding"), + self.vcs.getEncoding(), 'replace') self.__showOutput(s) @@ -229,7 +230,7 @@ """ if self.proc is not None: s = str(self.proc.readAllStandardError(), - Preferences.getSystem("IOEncoding"), + self.vcs.getEncoding(), 'replace') self.__showError(s)