summaryrefslogtreecommitdiffstats
path: root/perl-install/c
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-01-22 11:57:03 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-01-22 11:57:03 +0000
commit1d922c8c7778f4fd5f0b7d592d102109e20835c1 (patch)
tree7439fc759ca1428e7ba4d4eec919e5d58d7e13d4 /perl-install/c
parent0b2abe1abda411d0333a53bab0bcec18eccb2042 (diff)
downloaddrakx-backup-do-not-use-1d922c8c7778f4fd5f0b7d592d102109e20835c1.tar
drakx-backup-do-not-use-1d922c8c7778f4fd5f0b7d592d102109e20835c1.tar.gz
drakx-backup-do-not-use-1d922c8c7778f4fd5f0b7d592d102109e20835c1.tar.bz2
drakx-backup-do-not-use-1d922c8c7778f4fd5f0b7d592d102109e20835c1.tar.xz
drakx-backup-do-not-use-1d922c8c7778f4fd5f0b7d592d102109e20835c1.zip
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
Diffstat (limited to 'perl-install/c')
-rw-r--r--perl-install/c/stuff.xs.pl10
1 files changed, 2 insertions, 8 deletions
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