[GRASS-SVN] r41308 -
grass/branches/releasebranch_6_4/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Mar 6 13:27:18 EST 2010
Author: martinl
Date: 2010-03-06 13:27:14 -0500 (Sat, 06 Mar 2010)
New Revision: 41308
Modified:
grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/gcmd.py
Log:
wxGUI: fix Windows locale problem
Modified: grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/gcmd.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/gcmd.py 2010-03-06 04:51:25 UTC (rev 41307)
+++ grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/gcmd.py 2010-03-06 18:27:14 UTC (rev 41308)
@@ -29,6 +29,7 @@
import time
import errno
import signal
+import locale
import wx
@@ -446,7 +447,7 @@
for type, msg in self.__ProcessStdErr():
if type == 'ERROR':
- return unicode(msg, "utf-8")
+ return unicode(msg, locale.getdefaultlocale()[1])
return ''
More information about the grass-commit
mailing list