--post-commit won't delete pages and --refresh seems no deadlock
[ikiwiki.git] / IkiWiki / Setup / Automator.pm
index b7798fcec09c287ae247bc12d6c9923ae8b3971d..42caf3039a9d79fc9686adc206b5b874eb2b3bdf 100644 (file)
@@ -9,12 +9,13 @@ use IkiWiki;
 use IkiWiki::UserInfo;
 use Term::ReadLine;
 use File::Path;
+use Encode;
 
 sub ask ($$) {
        my ($question, $default)=@_;
 
        my $r=Term::ReadLine->new("ikiwiki");
-       $r->readline($question." ", $default);
+       $r->readline(encode_utf8($question)." ", $default);
 }
 
 sub prettydir ($) {