[GRASS-dev] [GRASS GIS] #2120: wxgui: encoding errors

GRASS GIS trac at osgeo.org
Fri Oct 25 07:38:12 PDT 2013


#2120: wxgui: encoding errors
-----------------------------+----------------------------------------------
 Reporter:  mlennert         |       Owner:  grass-dev@…              
     Type:  defect           |      Status:  new                      
 Priority:  normal           |   Milestone:  6.4.4                    
Component:  wxGUI            |     Version:  svn-releasebranch64      
 Keywords:  locale encoding  |    Platform:  Unspecified              
      Cpu:  Unspecified      |  
-----------------------------+----------------------------------------------
 Using grass64release in French (locale: fr_BE.utf8), I seem to be seeing
 more encoding errors than before in the wxGUI. Examples are when running
 v.in.ogr, r.in.gdal, v.build. In fact whenever a module emits a message in
 the locale's language which contains special characters, I get errors such
 as


 {{{
 'ascii' codec can't decode byte 0xef in position 16: ordinal
 not in range(128)
 }}}

 I don't get such errors on the command line.

 These errors do not keep the module from functioning, but it makes reading
 its messages nearly impossible unless you really know what to look for.

 I don't have the time now to go back and try to find out if this worked
 better before, but I do think so. It might just be that more strings have
 been translated to French and that is why I see these errors now.

 I think this also adds to the recent discussions about test in that it
 makes it evident that if we want to take multi-locale usage of GRASS
 seriously, we probably need to think of a series of tests that developers
 should use to make sure any changes do not create such encoding problems.

 Moritz

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/2120>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list