diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-06-16 15:43:37 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-06-16 15:43:37 -0400 |
commit | bd7edfd9ca050edebbd6c09e24834934074909a8 (patch) | |
tree | 44b85669eb5ea941650b04970883f859243334f3 /doc | |
parent | 00532174881f2171358df1ffe69b8ed1e31cd99c (diff) | |
download | ikiwiki-bd7edfd9ca050edebbd6c09e24834934074909a8.tar ikiwiki-bd7edfd9ca050edebbd6c09e24834934074909a8.tar.gz |
textile: The Text::Textile perl module has some regexps that fail if input is flagged as utf-8, but contains invalid characters such as 0x92. To prevent it from crashing, re-encode the content before calling it, which will ensure that it's really utf-8.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/bugs/textile_plugin_dies_if_input_has_a_non-utf8_character.mdwn | 2 |
1 files changed, 2 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 index d10cc3e5a..7ec1edc4e 100644 --- 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 @@ -10,3 +10,5 @@ The first two complaints happen if textile is not loaded, the third fatal one ha 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. ikiwiki version 2.50. -- [[JonDowland]] + +> Fixed in git. [[done]] --[[Joey]] |