[GRASS-dev] [GRASS GIS] #2021: encoding information in locale gets lost

GRASS GIS trac at osgeo.org
Wed Aug 24 08:51:04 PDT 2016


#2021: encoding information in locale gets lost
--------------------------+-----------------------------
  Reporter:  mlennert     |      Owner:  grass-dev@…
      Type:  defect       |     Status:  reopened
  Priority:  normal       |  Milestone:  7.0.5
 Component:  Startup      |    Version:  svn-trunk
Resolution:               |   Keywords:  locale encoding
       CPU:  Unspecified  |   Platform:  Linux
--------------------------+-----------------------------

Comment (by mlennert):

 Replying to [comment:12 martinl]:
 > Still the issue?

 Yes. If I set the language preference in
 Settings->Preferences->Appearance->Choose language to 'en', and then
 restart GRASS, I get 'C' locale everywhere. As Maris said, this comes from
 the .grass7/wx file which contains the line:


 {{{
 language;locale;lc_all;C
 }}}

 This is a GUI preference definition, but set_language() uses it for all of
 GRASS, including command line, even if you never start the GUI.

 Either we should rename the preferences dialogues to make it clear that
 this is a general setting, but that it should probably not go into the wx
 file, or we have to change the behaviour of set_language().

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2021#comment:13>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list