[GRASS-dev] [GRASS GIS] #3392: t.register: encoding error
GRASS GIS
trac at osgeo.org
Mon Aug 28 13:00:47 PDT 2017
#3392: t.register: encoding error
--------------------------+---------------------------------
Reporter: mlennert | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.2.2
Component: Temporal | Version: svn-trunk
Resolution: | Keywords: t.register encoding
CPU: Unspecified | Platform: Unspecified
--------------------------+---------------------------------
Comment (by glynn):
Replying to [comment:12 annakrat]:
> The problem mostly comes from calling gisenv function from script.utils
which returns unicode.
That shouldn't be the case. Nothing in the grass.script module should ever
return unicode. Because if it does, anything which isn't wxgui will just
have to turn it back into bytes again. Which is more error-prone than just
leaving it as bytes in the first place.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3392#comment:30>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list