From 7c9a1c1c9ed3868e77aaa1cb8d4e9793330c510b Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 6 Oct 2010 11:03:08 -0400 Subject: [PATCH] Decode UTF-8 when reading export results in org.pm. --- IkiWiki/Plugin/org.pm | 2 ++ 1 file changed, 2 insertions(+) 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; } -- 2.26.2