git-svn-id: https://svn.osgeo.org/grass/grass/branches/releasebranch_7_0@64817 15284696-431f-4ddb-bdfa-cd5b030d7da7
@@ -384,7 +384,7 @@ class GConsoleWindow(wx.SplitterWindow):
try:
output = open(path, "w")
- output.write(text)
+ output.write(EncodeString(text))
except IOError as e:
GError(_("Unable to write file '%(path)s'.\n\nDetails: %(error)s") % {'path': path, 'error': e})
finally: