From cb252846903c034feae1921f75236f784793f080 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 8 May 2011 13:29:58 -0400 Subject: [PATCH] response (I fucking hate perl's unicode nightmare, make it stop) --- ...p_file_does_not_support_UTF-8_if_XS_is_installed.mdwn | 9 +++++++++ 1 file changed, 9 insertions(+) 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]]