Ver código fonte

wxGUI: About dialog fixed (UTF-8)
(merge from devbr6, https://trac.osgeo.org/grass/changeset/34792)


git-svn-id: https://svn.osgeo.org/grass/grass/trunk@34793 15284696-431f-4ddb-bdfa-cd5b030d7da7

Martin Landa 16 anos atrás
pai
commit
e2598252db
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      gui/wxpython/wxgui.py

+ 1 - 1
gui/wxpython/wxgui.py

@@ -514,7 +514,7 @@ class GMFrame(wx.Frame):
         licenceFile.close()
         # credits
         authorsFile = open(os.path.join(os.getenv("GISBASE"), "AUTHORS"), 'r')
-        info.SetDevelopers([''.join(authorsFile.readlines())])
+        info.SetDevelopers([unicode(''.join(authorsFile.readlines()), "utf-8")])
         authorsFile.close()
 
         wx.AboutBox(info)