summaryrefslogtreecommitdiffstats
path: root/perl-install/c/stuff.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/c/stuff.pm')
-rw-r--r--perl-install/c/stuff.pm2
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;