]> sipb.mit.edu Git - ikiwiki.git/commitdiff
response
authorJoey Hess <joey@kitenet.net>
Sun, 8 May 2011 17:29:58 +0000 (13:29 -0400)
committerJoey Hess <joey@kitenet.net>
Sun, 8 May 2011 17:29:58 +0000 (13:29 -0400)
(I fucking hate perl's unicode nightmare, make it stop)

doc/bugs/yaml_setup_file_does_not_support_UTF-8_if_XS_is_installed.mdwn

index 70ba4b582c31c0cc1e760a72dce36136d30f1881..c12492c6a0264bb0d680c34a6bf3e4d665a4bd95 100644 (file)
@@ -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]]