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/lang.pm | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'perl-install/lang.pm') diff --git a/perl-install/lang.pm b/perl-install/lang.pm index 53073a139..52a6fd826 100644 --- a/perl-install/lang.pm +++ b/perl-install/lang.pm @@ -825,6 +825,10 @@ sub load_console_font { run_program::run(if_($ENV{LD_LOADER}, $ENV{LD_LOADER}), 'consolechars', '-v', '-f', $name || 'lat0-sun16', if_($sfm, '-u', $sfm), if_($acm, '-m', $acm)); + + #- in console mode install, ensure we'll get translations in the right codeset + #- (charset of locales reported by the glibc are UTF-8 during install) + $acm and c::bind_textdomain_codeset('libDrakX', lang2charset($lang)); } sub get_x_fontset { -- cgit v1.2.1