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.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/c/stuff.pm b/perl-install/c/stuff.pm
index b6cbd6128..918abee6c 100644
--- a/perl-install/c/stuff.pm
+++ b/perl-install/c/stuff.pm
@@ -11,6 +11,7 @@ $VERSION = '0.01';
bootstrap c::stuff $VERSION;
sub from_utf8 { iconv($_[0], "utf-8", standard_charset()) }
+sub to_utf8 { iconv($_[0], standard_charset(), "utf-8") }
sub headerGetEntry {
my ($h, $q) = @_;