diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-06-11 18:51:49 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-06-11 18:51:49 +0000 |
commit | 2ce6d15b8bdc23f1b7cb3e71168ff5df580eb267 (patch) | |
tree | f241b74ab725dd9dbd330677a18fd4a807752868 /IkiWiki/Render.pm | |
parent | 2af87dea6c94df8731e1ed515118b3b449fd97aa (diff) | |
download | ikiwiki-2ce6d15b8bdc23f1b7cb3e71168ff5df580eb267.tar ikiwiki-2ce6d15b8bdc23f1b7cb3e71168ff5df580eb267.tar.gz |
* 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.
Diffstat (limited to 'IkiWiki/Render.pm')
-rw-r--r-- | IkiWiki/Render.pm | 5 |
1 files changed, 1 insertions, 4 deletions
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"); |