summaryrefslogtreecommitdiffstats
path: root/perl-install/any.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/any.pm
parentad3541c3f289f4777ebea4bcd0a12954edfb9780 (diff)
downloaddrakx-backup-do-not-use-260fe6ccef437482f2e1e40655a9100a1e8f18df.tar
drakx-backup-do-not-use-260fe6ccef437482f2e1e40655a9100a1e8f18df.tar.gz
drakx-backup-do-not-use-260fe6ccef437482f2e1e40655a9100a1e8f18df.tar.bz2
drakx-backup-do-not-use-260fe6ccef437482f2e1e40655a9100a1e8f18df.tar.xz
drakx-backup-do-not-use-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/any.pm')
-rw-r--r--perl-install/any.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index a1a2da268..a4710b375 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -801,6 +801,6 @@ sub runlevel {
}
}
-sub to_utf8 { c::to_utf8($lang::charset || 'ISO-8859-1', $_[0]) }
+sub to_utf8 { c::iconv($_[0], $lang::charset || 'ISO-8859-1', "utf-8") }
1;