From 69b6d6056c98dc6c647ff69fd7b773ef21ca3519 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 5 Apr 2001 23:46:58 +0000 Subject: (fs_options): created (gets codepage and iocharset) --- perl-install/lang.pm | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/perl-install/lang.pm b/perl-install/lang.pm index 3a3791115..91535a88c 100644 --- a/perl-install/lang.pm +++ b/perl-install/lang.pm @@ -511,6 +511,17 @@ sub get_x_fontset { ($big, $small); } +sub fs_options { + my ($lang) = @_; + my $l = $languages{$lang} or return; + my $c = $charsets{$l->[1]} or return; + my ($iocharset, $codepage) = @$c[3..4]; + +{ + if_($iocharset, iocharset => $iocharset), + if_($codepage, codepage => $codepage), + }; +} + sub charset { my ($lang, $prefix) = @_; my $l = $languages{$lang} && $languages{$lang}[2]; -- cgit v1.2.1