summaryrefslogtreecommitdiff
path: root/IkiWiki/Setup/Automator.pm
diff options
context:
space:
mode:
Diffstat (limited to 'IkiWiki/Setup/Automator.pm')
-rw-r--r--IkiWiki/Setup/Automator.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/IkiWiki/Setup/Automator.pm b/IkiWiki/Setup/Automator.pm
index b7798fcec..42caf3039 100644
--- a/IkiWiki/Setup/Automator.pm
+++ b/IkiWiki/Setup/Automator.pm
@@ -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 ($) {