[GRASS-SVN] r46264 - grass/branches/develbranch_6/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Sat May 14 04:01:39 EDT 2011


Author: neteler
Date: 2011-05-14 01:01:39 -0700 (Sat, 14 May 2011)
New Revision: 46264

Modified:
   grass/branches/develbranch_6/gui/wxpython/gui_modules/prompt.py
Log:
glynn: fix bash_history not in utf-8 problem

Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/prompt.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/prompt.py	2011-05-14 08:01:30 UTC (rev 46263)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/prompt.py	2011-05-14 08:01:39 UTC (rev 46264)
@@ -509,7 +509,7 @@
                                                    env['LOCATION_NAME'],
                                                    env['MAPSET'],
                                                    '.bash_history'),
-                                      encoding = 'utf-8', mode = 'r')
+                                      encoding = 'utf-8', mode = 'r', errors='replace')
         except IOError:
             return hist
         



More information about the grass-commit mailing list