From: Joey Hess Date: Sun, 8 May 2011 17:29:58 +0000 (-0400) Subject: response X-Git-Url: http://git.tremily.us/?p=ikiwiki.git;a=commitdiff_plain;h=cb252846903c034feae1921f75236f784793f080 response (I fucking hate perl's unicode nightmare, make it stop) --- diff --git a/doc/bugs/yaml_setup_file_does_not_support_UTF-8_if_XS_is_installed.mdwn b/doc/bugs/yaml_setup_file_does_not_support_UTF-8_if_XS_is_installed.mdwn index 70ba4b582..c12492c6a 100644 --- a/doc/bugs/yaml_setup_file_does_not_support_UTF-8_if_XS_is_installed.mdwn +++ b/doc/bugs/yaml_setup_file_does_not_support_UTF-8_if_XS_is_installed.mdwn @@ -75,3 +75,12 @@ preferred one? >>>>>> YAML::Any's fault, or Perl's fault, or... the way ikiwiki >>>>>> slurps and untaints UTF-8 YAML setup files. Sorry for providing >>>>>> information that may have been misguided. --[[intrigeri]] + +>>>>>>> `use utf8` is completely irrelevant; that only tells +>>>>>>> perl to support utf8 in its source code. +>>>>>>> +>>>>>>> I don't know what `Path::Class::File` is, but if it +>>>>>>> provides non-decoded bytes to the module than it would likely +>>>>>>> avoid this failure, while resulting in parsed yaml where every +>>>>>>> string was likewise not decoded unicode, which is not very useful. +>>>>>>> --[[Joey]]