#3842: PyGRASS: grass.pygrass.modules.Module("r.watershed").flags() raises
UnicodeEncodeError
-----------------------+-------------------------
 Reporter:  itati01    |      Owner:  grass-dev@…
     Type:  defect     |     Status:  new
 Priority:  normal     |  Milestone:
Component:  PyGRASS    |    Version:  unspecified
 Keywords:             |        CPU:  x86-64
 Platform:  MSWindows  |
-----------------------+-------------------------
 Hello,

 These lines result in an UnicodeEncodeError on my Windows machine (W10
 64bit, German language). I am using Grass 7.6.0 which comes with Python
 2.7.14.

 {{{
 #!div style="font-size: 80%"
   {{{#!python
   import grass.pygrass.modules as gmod
   wat = gmod.Module("r.watershed")
   wat.flags()
   }}}
 }}}

 The docstring contains a mix of German and English descriptions, including
 German umlauts. The same happens in GRASS 7.2.2.

 Best
 Andreas

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

_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to