[GRASS-user] ascii decode special character
Frank David
frank.david at geophom.fr
Wed Jan 2 07:48:41 PST 2019
Hello all,
I wish a very nice year to every GRASS user and also for GRASS
developments !
I met a decoding problem with "v.db.select map=my_vector
columns=my_name" when GRASS meet some special characters in the string
of my_name field. The string value is "Côte de la Bouchère".
See below the error message :
Traceback (most recent call last):
File
"/usr/local/grass-7.5.svn/gui/wxpython/gui_core/goutput.py",
line 472, in OnCmdOutput
self.cmdOutput.AddStyledMessage(message, type)
File
"/usr/local/grass-7.5.svn/gui/wxpython/gui_core/goutput.py",
line 771, in AddStyledMessage
self.AddTextWrapped(message, wrap=None)
File
"/usr/local/grass-7.5.svn/gui/wxpython/gui_core/goutput.py",
line 722, in AddTextWrapped
self.AddText(txt)
File "/usr/lib/python2.7/dist-
packages/wx-3.0-gtk2/wx/stc.py", line 2041, in AddText
return _stc.StyledTextCtrl_AddText(*args, **kwargs)
UnicodeDecodeError
:
'ascii' codec can't decode byte 0xc3 in position 1: ordinal
not in range(128)
(Wed Jan 2 16:40:24 2019) Command finished (0 sec)
Is there anybody who know how I can solve this ? (with GRASS v7.5 on
debian9)
Cheers,
Frank
More information about the grass-user
mailing list