id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,cpu,platform 3517,UnicodeDecodeError in OnRenderDone (core/render.py),marisn,grass-dev@…,"One of my students entered a wrong text as a map name in d.legend. Instead of just getting an error, this action messes up wxGUI. Observed on Linux (UTF-8 based locale) and Windows (Windows-1257 based locale). To test, enter ""āšņļ"" into d.legend as a raster name. {{{ Traceback (most recent call last): File ""/home/maris/soft/grass_trunk/dist.x86_64-pc-linux- gnu/gui/wxpython/gui_core/goutput.py"", line 472, in OnCmdOutput self.cmdOutput.AddStyledMessage(message, type) File ""/home/maris/soft/grass_trunk/dist.x86_64-pc-linux- gnu/gui/wxpython/gui_core/goutput.py"", line 771, in AddStyledMessage self.AddTextWrapped(message, wrap=None) File ""/home/maris/soft/grass_trunk/dist.x86_64-pc-linux- gnu/gui/wxpython/gui_core/goutput.py"", line 720, in AddTextWrapped txt = EncodeString(txt) File ""/home/maris/soft/grass_trunk/dist.x86_64-pc-linux- gnu/gui/wxpython/core/gcmd.py"", line 99, in EncodeString return string.encode(_enc) UnicodeDecodeError : 'ascii' codec can't decode byte 0xc4 in position 13: ordinal not in range(128) Traceback (most recent call last): File ""/home/maris/soft/grass_trunk/dist.x86_64-pc-linux- gnu/gui/wxpython/core/gthread.py"", line 117, in OnDone event.ondone(event) File ""/home/maris/soft/grass_trunk/dist.x86_64-pc-linux- gnu/gui/wxpython/core/render.py"", line 434, in OnRenderDone (self.layer, event.ret, time.time() - self._startTime)) UnicodeDecodeError : 'ascii' codec can't decode byte 0xc4 in position 33: ordinal not in range(128) }}} ",defect,new,minor,7.4.5,wxGUI,svn-trunk,,,,Unspecified,Unspecified