diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-07-25 02:15:52 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-07-25 02:15:52 +0000 |
commit | a7b8e35bf90fa9e2df8be78ac636b158760ecf9c (patch) | |
tree | f098a2aaa37bece5cfd7abe7d47b8b4fbf27a0d9 /IkiWiki/Plugin | |
parent | a4b3300fde7a9e5695debcd4ee90cf173ef372d1 (diff) | |
download | ikiwiki-a7b8e35bf90fa9e2df8be78ac636b158760ecf9c.tar ikiwiki-a7b8e35bf90fa9e2df8be78ac636b158760ecf9c.tar.gz |
* Fix graphviz plugin to not try to read images as utf-8; they might
sometimes contain invalid utf-8 byte sequences. Thanks,
HenrikBrixAndersen.
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r-- | IkiWiki/Plugin/graphviz.pm | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/graphviz.pm b/IkiWiki/Plugin/graphviz.pm index 5d666e1be..ee97c71d1 100644 --- a/IkiWiki/Plugin/graphviz.pm +++ b/IkiWiki/Plugin/graphviz.pm @@ -41,7 +41,6 @@ sub render_graph (\%) { #{{{ $pid=open2(*IN, *OUT, "$params{prog} -Tpng"); # open2 doesn't respect "use open ':utf8'" - binmode (IN, ':utf8'); binmode (OUT, ':utf8'); print OUT $src; |