aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--src/monitor.py2
-rwxr-xr-xsrc/net_monitor2
3 files changed, 3 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 93c8c40..2c2feb9 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,7 @@ Mandriva network monitoring tool -- History of user-visible changes
Copyright (C) 2009, Mandriva
- fix missing interface name in message
+- fix treating UTF-8 strings as ascii (mga#12047)
- silent a warning when there's no wireless device
0.15:
diff --git a/src/monitor.py b/src/monitor.py
index 7cb9192..7c2ab8e 100644
--- a/src/monitor.py
+++ b/src/monitor.py
@@ -16,7 +16,7 @@ import _native
# localization
import gettext
try:
- gettext.install("net_monitor")
+ gettext.install("net_monitor", unicode=1)
except IOError:
_ = str
diff --git a/src/net_monitor b/src/net_monitor
index b8903a1..1b123d3 100755
--- a/src/net_monitor
+++ b/src/net_monitor
@@ -28,7 +28,7 @@ import textwrap
# localization
import gettext
try:
- gettext.install("net_monitor")
+ gettext.install("net_monitor", unicode=1)
except IOError:
_ = str