aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2008-06-16 15:13:27 -0400
committerJoey Hess <joey@kitenet.net>2008-06-16 15:13:27 -0400
commit2db2e35a0584099dcad737ff971ffa42a3f1edaf (patch)
tree136705dfd85880982c4cd6c9e42096b2665e5238
parent99c96480c080a764f95e778cd34d5960340fb8c8 (diff)
downloadikiwiki-2db2e35a0584099dcad737ff971ffa42a3f1edaf.tar
ikiwiki-2db2e35a0584099dcad737ff971ffa42a3f1edaf.tar.gz
web commit by http://alcopop.org/me/openid/: bug with bad input text
-rw-r--r--doc/bugs/textile_plugin_dies_if_input_has_a_non-utf8_character.mdwn12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/bugs/textile_plugin_dies_if_input_has_a_non-utf8_character.mdwn b/doc/bugs/textile_plugin_dies_if_input_has_a_non-utf8_character.mdwn
new file mode 100644
index 000000000..fe08e36b5
--- /dev/null
+++ b/doc/bugs/textile_plugin_dies_if_input_has_a_non-utf8_character.mdwn
@@ -0,0 +1,12 @@
+ 20:03:56$ ikiwiki --setup *setup --rebuild
+ successfully generated /home/jon/git/ikiwiki/hooks/post-update
+ utf8 "\x92" does not map to Unicode at /usr/share/perl5/IkiWiki.pm line 320, <$in> chunk 1.
+ utf8 "\x92" does not map to Unicode at /usr/share/perl5/IkiWiki.pm line 320, <$in> chunk 1.
+ ikiwiki.setup: Malformed UTF-8 character (fatal) at /usr/share/perl5/Text/Textile.pm line 775.
+ BEGIN failed--compilation aborted at (eval 6) line 166.
+
+The first two complaints happen if textile is not loaded, the third fatal one happens if it is.
+
+0x92 is "single quote" in the evil windows default codepage. It would be nice to handle this gracefully and not abort ikiwiki at this point, or alternatively, die fatally but mention which input page caused the error.
+
+Interestingly enough, in my case, the input file has several other bad windows characters (0xFC, u-umlaut) which have not caused ikiwiki to abort. -- [[JonDowland]]