[GRASS-dev] [GRASS GIS] #1664: Texts in command dialogs are garbled

#1664: Texts in command dialogs are garbled
----------------------------------+-----------------------------------------
Reporter: wenzeslaus | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone:
Component: Default | Version: unspecified
Keywords: encoding translation | Platform: MSWindows 7
      Cpu: Unspecified |
----------------------------------+-----------------------------------------
Generated command dialogs show garbled texts. It does not apply to buttons
and other strings which comes directly from Python code. It applies to
string which comes from module option description (but with some
translation activated).

Acutes and other diacritics signs are shown before letters. However this
is detail and it can differ between languages/encodings.

It is necessary to test this with language which uses non-ascii
characters. System encoding has to be other than UTF-8. It is not known if
this can be reproduced on systems other than Windows.

Problem can by in piping and reading piped text. It happens in files:
{{{
lib/gis/parser_interface.c
lib/python/task.py
}}}

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1664&gt;
GRASS GIS <http://grass.osgeo.org>

#1664: Texts in command dialogs are garbled
--------------------------------------------+-------------------------------
Reporter: wenzeslaus | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone:
Component: Translations | Version: unspecified
Keywords: encoding translation, wingrass | Platform: MSWindows 7
      Cpu: Unspecified |
--------------------------------------------+-------------------------------
Changes (by hamish):

  * keywords: encoding translation => encoding translation, wingrass
  * component: Default => Translations

Comment:

can you provide a screenshot?
which version of GRASS?
which wingrass package?
which language(s) did you try?
what language is Windows set up to use?

thanks,
Hamish

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1664#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>

#1664: Texts in command dialogs are garbled
--------------------------------------------+-------------------------------
Reporter: wenzeslaus | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone:
Component: Translations | Version: unspecified
Keywords: encoding translation, wingrass | Platform: MSWindows 7
      Cpu: Unspecified |
--------------------------------------------+-------------------------------

Comment(by neteler):

Tested with PL language on Windows 8, the diacritics are still broken
as shown in the attached screenshot.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1664#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>

#1664: Texts in command dialogs are garbled
--------------------------------------------+-------------------------------
Reporter: wenzeslaus | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone:
Component: Translations | Version: unspecified
Keywords: encoding translation, wingrass | Platform: MSWindows 7
      Cpu: Unspecified |
--------------------------------------------+-------------------------------

Comment(by marisn):

I'm afraid that this is a variation of #995 and thus it can NOT be fixed
for GRASS 6.x. See more here:
http://trac.osgeo.org/grass/ticket/995#comment:18

Does it also affect GRASS 7? If yes, then we have to change automatic GUI
generation to work around this issue as Microsoft isn't going to change
all of broken ways how Windows works :frowning:

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1664#comment:3&gt;
GRASS GIS <http://grass.osgeo.org>