summaryrefslogtreecommitdiffstats
path: root/perl-install/lang.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-06-08 18:04:41 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-06-08 18:04:41 +0000
commit260fe6ccef437482f2e1e40655a9100a1e8f18df (patch)
tree29e4bafb4f30c91faff8f147eebac667dab74c35 /perl-install/lang.pm
parentad3541c3f289f4777ebea4bcd0a12954edfb9780 (diff)
downloaddrakx-260fe6ccef437482f2e1e40655a9100a1e8f18df.tar
drakx-260fe6ccef437482f2e1e40655a9100a1e8f18df.tar.gz
drakx-260fe6ccef437482f2e1e40655a9100a1e8f18df.tar.bz2
drakx-260fe6ccef437482f2e1e40655a9100a1e8f18df.tar.xz
drakx-260fe6ccef437482f2e1e40655a9100a1e8f18df.zip
- c::iconv replace c::from_utf8 and c::to_utf8
- handle po files in any charset, iconv'ed to the right charset
Diffstat (limited to 'perl-install/lang.pm')
-rw-r--r--perl-install/lang.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/lang.pm b/perl-install/lang.pm
index 80e87fbc1..92b653548 100644
--- a/perl-install/lang.pm
+++ b/perl-install/lang.pm
@@ -448,7 +448,7 @@ sub load_po {
$to = qq("$to");
}
if ($from) {
- $s .= qq("$from" => $to,\n);
+ $s .= qq("$from" => ) . c::iconv($to, $lang::charset, c::standard_charset()) . ",\n";
} elsif ($to =~ /charset=([\w-]+)/) {
$lang::charset = $1;
}