diff options
author | Simon McVittie <smcv@debian.org> | 2012-03-18 15:31:41 +0000 |
---|---|---|
committer | Simon McVittie <smcv@debian.org> | 2012-03-18 15:31:41 +0000 |
commit | 4e54fa1144065b7ff99e88e6c61ff1fdcf6175c9 (patch) | |
tree | 6759b80b8722ea532385c9a3ccc74897b784967d /ikiwiki.in | |
parent | d70ba7cff3fc6cc78ea2f8eb0713212478ab6ba7 (diff) | |
parent | 0a9bb3edc2a9819ba87de1b6e57155120b6aba44 (diff) | |
download | ikiwiki-4e54fa1144065b7ff99e88e6c61ff1fdcf6175c9.tar ikiwiki-4e54fa1144065b7ff99e88e6c61ff1fdcf6175c9.tar.gz |
Merge tag '3.20120202' into trail3-integrated
Diffstat (limited to 'ikiwiki.in')
-rwxr-xr-x | ikiwiki.in | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/ikiwiki.in b/ikiwiki.in index adff1411e..e6b64f439 100755 --- a/ikiwiki.in +++ b/ikiwiki.in @@ -108,11 +108,9 @@ sub getconfig () { if (! defined $var || ! defined $val) { die gettext("usage: --set-yaml var=value"), "\n"; } - eval q{use YAML::Any}; - eval q{use YAML} if $@; + eval q{use YAML::XS; use Encode}; die $@ if $@; - eval q{$YAML::Syck::ImplicitUnicode=1}; - $config{$var}=Load($val."\n"); + $config{$var}=Load(encode_utf8($val)."\n"); }, "version" => sub { print "ikiwiki version $IkiWiki::version\n"; |