projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e3efd2
)
Decode UTF-8 when reading export results in org.pm.
org
author
W. Trevor King
<wking@drexel.edu>
Wed, 6 Oct 2010 15:03:08 +0000
(11:03 -0400)
committer
W. Trevor King
<wking@tremily.us>
Sun, 13 Jan 2013 12:11:34 +0000
(07:11 -0500)
IkiWiki/Plugin/org.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/Plugin/org.pm
b/IkiWiki/Plugin/org.pm
index 28cef07fbe74337ac60653003bfba7557d2d6b0f..94b8314003d68dc9366fb6eb7badb0c4317d9f32 100644
(file)
--- 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;
}