aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xgrpmi/grpmi.pl5
-rw-r--r--rpmdrake.pm5
-rw-r--r--rpmdrake.spec1
3 files changed, 9 insertions, 2 deletions
diff --git a/grpmi/grpmi.pl b/grpmi/grpmi.pl
index 848039fc..d763e61e 100755
--- a/grpmi/grpmi.pl
+++ b/grpmi/grpmi.pl
@@ -30,9 +30,12 @@ $::isStandalone = 1;
@ARGV or die "usage: ", basename($0), " [--no-verify-rpm] <[-noupgrade] PACKAGE>...\n";
+c::bind_textdomain_codeset('grpmi', 'UTF8');
sub translate {
my ($s) = @_;
- $s ? c::dgettext('grpmi', $s) : '';
+ my $r = $s ? c::dgettext('grpmi', $s) : '';
+ c::set_tagged_utf8($r);
+ $r;
}
sub sprintf_fixutf8 {
my $need_upgrade;
diff --git a/rpmdrake.pm b/rpmdrake.pm
index b99c24f9..e89a9c4c 100644
--- a/rpmdrake.pm
+++ b/rpmdrake.pm
@@ -41,9 +41,12 @@ if ($@) {
}
ugtk2::add_icon_path('/usr/share/rpmdrake/icons');
+c::bind_textdomain_codeset('rpmdrake', 'UTF8');
sub translate {
my ($s) = @_;
- $s ? c::dgettext('rpmdrake', $s) : '';
+ my $r = $s ? c::dgettext('rpmdrake', $s) : '';
+ c::set_tagged_utf8($r);
+ $r;
}
sub sprintf_fixutf8 {
my $need_upgrade;
diff --git a/rpmdrake.spec b/rpmdrake.spec
index 3ffee510..3a83cba4 100644
--- a/rpmdrake.spec
+++ b/rpmdrake.spec
@@ -123,6 +123,7 @@ rm -rf $RPM_BUILD_ROOT
- fix crashing when managing to call Remove or Edit with nothing
selected (#970)
- add a dependency to a recent drakxtools to fix #1030
+- fix problems of characters display in non-latin1 locales
* Tue Jan 21 2003 Guillaume Cottenceau <gc@mandrakesoft.com> 2.1-3mdk
- rpmdrake: