X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/c64c4b99626286ee08f67999a18c43c769e21e6a..9dc220711dff12fd45274c4e2fd2645a33d3de5c:/ikiwiki.in diff --git a/ikiwiki.in b/ikiwiki.in index 7028bdb7d..38e4d3201 100755 --- a/ikiwiki.in +++ b/ikiwiki.in @@ -102,8 +102,10 @@ sub getconfig () { die gettext("usage: --set-yaml var=value"), "\n"; } eval q{use YAML::Any}; + eval q{use YAML} if $@; die $@ if $@; - $config{$var}=Load($val); + eval q{$YAML::Syck::ImplicitUnicode=1}; + $config{$var}=Load($val."\n"); }, "version" => sub { print "ikiwiki version $IkiWiki::version\n";