use warnings;
use strict;
use IkiWiki;
+use Encode;
sub loaddump ($$) {
my $class=shift;
eval q{use YAML::Any};
eval q{use YAML} if $@;
die $@ if $@;
- IkiWiki::Setup::merge(Load($content));
+ $YAML::Syck::ImplicitUnicode=1;
+ IkiWiki::Setup::merge(Load(encode_utf8($content)));
}
sub gendump ($@) {