[GRASS-SVN] r41310 -
grass/branches/develbranch_6/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Mar 6 13:36:55 EST 2010
Author: martinl
Date: 2010-03-06 13:36:55 -0500 (Sat, 06 Mar 2010)
New Revision: 41310
Modified:
grass/branches/develbranch_6/gui/wxpython/gui_modules/gcmd.py
Log:
wxGUI: fix Windows locale problem
(merge r41308 from relbr64)
Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/gcmd.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/gcmd.py 2010-03-06 18:33:36 UTC (rev 41309)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/gcmd.py 2010-03-06 18:36:55 UTC (rev 41310)
@@ -35,6 +35,7 @@
import time
import errno
import signal
+import locale
import wx
@@ -441,7 +442,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