From 17cf924f39286719e97628f948cb0cbd43ff1bea Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 13 Mar 2008 13:21:12 +0000 Subject: ensure urpmi messages are always in UTF-8 --- NEWS | 3 +++ gurpmi.pm | 3 +++ 2 files changed, 6 insertions(+) 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); -- cgit v1.2.1