Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info

master
Joey Hess 2011-05-10 21:34:44 -04:00
commit 0e224c76cc
2 changed files with 17 additions and 0 deletions

View File

@ -84,3 +84,17 @@ preferred one?
>>>>>>> avoid this failure, while resulting in parsed yaml where every >>>>>>> avoid this failure, while resulting in parsed yaml where every
>>>>>>> string was likewise not decoded unicode, which is not very useful. >>>>>>> string was likewise not decoded unicode, which is not very useful.
>>>>>>> --[[Joey]] >>>>>>> --[[Joey]]
>>>>>>>> You guessed right about the non-decoded bytes being passed to
>>>>>>>> YAML::XS, except this is the way it shall be done. YAML::XS
>>>>>>>> POD reads: "YAML::XS only deals with streams of utf8 octets".
>>>>>>>> Feed it with non-decoded UTF-8 bytes and it gives you
>>>>>>>> properly encoded UTF-8 Perl strings in exchange.
>>>>>>>>
>>>>>>>> Once this has been made clear, since 1. this module indeed
>>>>>>>> seems to be the future of YAML in Perl, and 2. is depended on
>>>>>>>> by other popular software such as dh-make-perl (on the 2nd
>>>>>>>> degree), I suggest using it explicitly instead of the current
>>>>>>>> "try to support every single YAML Perl module and end up
>>>>>>>> conflicting with the now recommended one" nightmare.
>>>>>>>> --[[intrigeri]]

View File

@ -93,3 +93,6 @@ This is super cool Joey!
Testing a change! Testing a change!
Testing multilanguage support via utf-8: Ελληνικά. 日本語。 Testing multilanguage support via utf-8: Ελληνικά. 日本語。
Testing Haiku
[[!haiku hint="argument"]]