summaryrefslogtreecommitdiffstats
path: root/gurpmi.pm
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 /gurpmi.pm
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
Diffstat (limited to 'gurpmi.pm')
-rw-r--r--gurpmi.pm3
1 files changed, 3 insertions, 0 deletions
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);