From 2ce6d15b8bdc23f1b7cb3e71168ff5df580eb267 Mon Sep 17 00:00:00 2001 From: joey Date: Sun, 11 Jun 2006 18:51:49 +0000 Subject: * Patch from Recai Oktaş to improve utf-8 support, it should now use proper utf-8 for edit and other fields, and for recentchanges. There may still be utf-8 issues with the preferences page though. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- IkiWiki/Render.pm | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'IkiWiki/Render.pm') diff --git a/IkiWiki/Render.pm b/IkiWiki/Render.pm index 0dfa03cd4..87546eeb3 100644 --- a/IkiWiki/Render.pm +++ b/IkiWiki/Render.pm @@ -29,13 +29,10 @@ sub htmlize ($$) { #{{{ $blosxom::version="is a proper perl module too much to ask?"; use warnings 'all'; do "/usr/bin/markdown"; - require Encode; } if ($type eq '.mdwn') { - # Markdown does character based stuff that does not work - # well with utf-8 strings. - $content=Encode::decode_utf8(Markdown::Markdown(Encode::encode_utf8($content))); + $content=Markdown::Markdown($content); } else { error("htmlization of $type not supported"); -- cgit v1.2.3