summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xpodwrapper.pl.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/podwrapper.pl.in b/podwrapper.pl.in
index db1200c1..f9b61f0e 100755
--- a/podwrapper.pl.in
+++ b/podwrapper.pl.in
@@ -465,7 +465,8 @@ if ($html) {
my $parser = Podwrapper::XHTML->new;
my $output;
$parser->output_string (\$output);
- $parser->html_charset ("UTF-8");
+ # Added in Pod::Simple 3.16, 2011-03-14.
+ eval { $parser->html_charset ("UTF-8") };
$parser->html_css ("pod.css");
$parser->index (1);
$parser->parse_string_document ($content);