From: W. Trevor King Date: Wed, 6 Oct 2010 15:03:08 +0000 (-0400) Subject: Decode UTF-8 when reading export results in org.pm. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9196ed74dd2e7087cdab9c9044fd544a7dd92e28;p=ikiwiki.git Decode UTF-8 when reading export results in org.pm. --- diff --git a/IkiWiki/Plugin/org.pm b/IkiWiki/Plugin/org.pm index 28cef07fb..94b831400 100644 --- a/IkiWiki/Plugin/org.pm +++ b/IkiWiki/Plugin/org.pm @@ -4,6 +4,7 @@ package IkiWiki::Plugin::org; use warnings; use strict; +use utf8; use File::Temp; use IkiWiki 3.00; @@ -81,6 +82,7 @@ sub htmlize (@) { #$args =~ s/FILE/posts\/Git\/notes.org/g; debug("Executing: $args"); my $content = `$args`; + utf8::decode($content); return $content; }