Plugins/VcsPlugins/vcsSubversion/SvnPropListDialog.py

changeset 1708
4a3cd8372425
parent 1509
c0b5e693b0eb
child 1709
62fb6a42cd7c
--- a/Plugins/VcsPlugins/vcsSubversion/SvnPropListDialog.py	Fri Mar 16 17:33:48 2012 +0100
+++ b/Plugins/VcsPlugins/vcsSubversion/SvnPropListDialog.py	Sat Mar 17 13:01:31 2012 +0100
@@ -7,7 +7,7 @@
 Module implementing a dialog to show the output of the svn proplist command process.
 """
 
-from PyQt4.QtCore import QTimer, QProcess, QRegExp, Qt
+from PyQt4.QtCore import QTimer, QProcess, QProcessEnvironment, QRegExp, Qt
 from PyQt4.QtGui import QWidget, QHeaderView, QDialogButtonBox, QTreeWidgetItem
 
 from E5Gui import E5MessageBox
@@ -35,6 +35,9 @@
         self.buttonBox.button(QDialogButtonBox.Cancel).setDefault(True)
         
         self.process = QProcess()
+        env = QProcessEnvironment.systemEnvironment()
+        env.insert("LANG", "C")
+        self.process.setProcessEnvironment(env)
         self.vcs = vcs
         
         self.propsList.headerItem().setText(self.propsList.columnCount(), "")

eric ide

mercurial