From 021952969933388021001b259462406cbc94c2a6 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 24 Mar 2010 16:19:50 -0400 Subject: fix unicode with YAML::Syck Syck-- it doesn't use unicode by default?! Hello, 2010 calling.. --- IkiWiki/Setup/Yaml.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'IkiWiki/Setup') diff --git a/IkiWiki/Setup/Yaml.pm b/IkiWiki/Setup/Yaml.pm index 8b876e297..904784728 100644 --- a/IkiWiki/Setup/Yaml.pm +++ b/IkiWiki/Setup/Yaml.pm @@ -13,6 +13,7 @@ sub loaddump ($$) { eval q{use YAML::Any}; eval q{use YAML} if $@; die $@ if $@; + $YAML::Syck::ImplicitUnicode=1; IkiWiki::Setup::merge(Load($content)); } -- cgit v1.2.3