aboutsummaryrefslogtreecommitdiff
path: root/ikiwiki.in
diff options
context:
space:
mode:
authorSimon McVittie <smcv@debian.org>2012-03-18 15:31:41 +0000
committerSimon McVittie <smcv@debian.org>2012-03-18 15:31:41 +0000
commit4e54fa1144065b7ff99e88e6c61ff1fdcf6175c9 (patch)
tree6759b80b8722ea532385c9a3ccc74897b784967d /ikiwiki.in
parentd70ba7cff3fc6cc78ea2f8eb0713212478ab6ba7 (diff)
parent0a9bb3edc2a9819ba87de1b6e57155120b6aba44 (diff)
downloadikiwiki-4e54fa1144065b7ff99e88e6c61ff1fdcf6175c9.tar
ikiwiki-4e54fa1144065b7ff99e88e6c61ff1fdcf6175c9.tar.gz
Merge tag '3.20120202' into trail3-integrated
Diffstat (limited to 'ikiwiki.in')
-rwxr-xr-xikiwiki.in6
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";