summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS3
-rw-r--r--gurpmi.pm3
2 files changed, 6 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index e9433262..070a136e 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+- gurpmi:
+ o ensure urpmi messages are always in UTF-8
+
Version 5.11 - 11 March 2008, by Pascal "Pixel" Rigaux
- gurpmi:
diff --git a/gurpmi.pm b/gurpmi.pm
index 5a882d8b..abe9010d 100644
--- a/gurpmi.pm
+++ b/gurpmi.pm
@@ -24,6 +24,9 @@ use urpm::util;
use urpm::msg;
use urpm::args;
use urpm::select;
+use Locale::gettext;
+
+Locale::gettext::bind_textdomain_codeset('urpmi', 'UTF8');
use Exporter;
our @ISA = qw(Exporter);