From 1d922c8c7778f4fd5f0b7d592d102109e20835c1 Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Wed, 22 Jan 2003 11:57:03 +0000 Subject: fix accents characters displaying in console mode during install: - convert translations into utf8 only during install && if using gtk - explicitely bind the codeset to the specified locale's encoding because during install they are reported as utf8 --- perl-install/c/stuff.xs.pl | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'perl-install/c') diff --git a/perl-install/c/stuff.xs.pl b/perl-install/c/stuff.xs.pl index d5b711bd6..403735ae2 100644 --- a/perl-install/c/stuff.xs.pl +++ b/perl-install/c/stuff.xs.pl @@ -178,9 +178,9 @@ setMouseLive(display, type, emulate3buttons) } '; -if ($ENV{C_DRAKX}) { print ' +print ' SV * -dgettext(domainname, msgid) +dgettext_utf8(domainname, msgid) char * domainname char * msgid @@ -194,17 +194,11 @@ dgettext(domainname, msgid) OUTPUT: RETVAL -' } else { print ' - char * dgettext(domainname, msgid) char * domainname char * msgid -' } - -print ' - int add_partition(hd, start_sector, size_sector, part_number) int hd -- cgit v1.2.1