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";