[GRASS-SVN] r60141 - grass-addons/grass7/vector/v.in.geopaparazzi
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed May 7 00:46:57 PDT 2014
Author: lucadelu
Date: 2014-05-07 00:46:57 -0700 (Wed, 07 May 2014)
New Revision: 60141
Modified:
grass-addons/grass7/vector/v.in.geopaparazzi/v.in.geopaparazzi.py
Log:
fix sqlite3 db field string multibyte character problem
Modified: grass-addons/grass7/vector/v.in.geopaparazzi/v.in.geopaparazzi.py
===================================================================
--- grass-addons/grass7/vector/v.in.geopaparazzi/v.in.geopaparazzi.py 2014-05-07 07:33:05 UTC (rev 60140)
+++ grass-addons/grass7/vector/v.in.geopaparazzi/v.in.geopaparazzi.py 2014-05-07 07:46:57 UTC (rev 60141)
@@ -147,6 +147,8 @@
indb = options['database']
prefix = options['basename']
env = grass.gisenv()
+ #fix sqlite3 db field string multibyte character problem
+ sys.setdefaultencoding('utf-8')
# check if 3d or not
if flags['z']:
d3 = 'z'
More information about the grass-commit
mailing list