diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2001-06-08 18:04:41 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2001-06-08 18:04:41 +0000 |
commit | 260fe6ccef437482f2e1e40655a9100a1e8f18df (patch) | |
tree | 29e4bafb4f30c91faff8f147eebac667dab74c35 /perl-install/c/stuff.pm | |
parent | ad3541c3f289f4777ebea4bcd0a12954edfb9780 (diff) | |
download | drakx-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/c/stuff.pm')
-rw-r--r-- | perl-install/c/stuff.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/c/stuff.pm b/perl-install/c/stuff.pm index d7f8db2cb..0121f2904 100644 --- a/perl-install/c/stuff.pm +++ b/perl-install/c/stuff.pm @@ -10,6 +10,8 @@ $VERSION = '0.01'; bootstrap c::stuff $VERSION; +sub from_utf8 { iconv($_[0], "utf-8", standard_charset()) } + sub headerGetEntry { my ($h, $q) = @_; $h or log::l("empty header in headerGetEntry"), return; |