summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-03-13 13:21:12 +0000
committerThierry Vignaud <tv@mandriva.org>2008-03-13 13:21:12 +0000
commit17cf924f39286719e97628f948cb0cbd43ff1bea (patch)
tree545026f4a31efdb0a6508004ff01f21dfb1855a8
parenteca0e72275cc995a5b67fd28c490b3c8c7fbebcf (diff)
downloadurpmi-17cf924f39286719e97628f948cb0cbd43ff1bea.tar
urpmi-17cf924f39286719e97628f948cb0cbd43ff1bea.tar.gz
urpmi-17cf924f39286719e97628f948cb0cbd43ff1bea.tar.bz2
urpmi-17cf924f39286719e97628f948cb0cbd43ff1bea.tar.xz
urpmi-17cf924f39286719e97628f948cb0cbd43ff1bea.zip
ensure urpmi messages are always in UTF-8
-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);