summaryrefslogtreecommitdiffstats
path: root/lib/Crawl/Bot/Plugin/Monster.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Crawl/Bot/Plugin/Monster.pm')
-rw-r--r--lib/Crawl/Bot/Plugin/Monster.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Crawl/Bot/Plugin/Monster.pm b/lib/Crawl/Bot/Plugin/Monster.pm
index 6140c70..ffa5940 100644
--- a/lib/Crawl/Bot/Plugin/Monster.pm
+++ b/lib/Crawl/Bot/Plugin/Monster.pm
@@ -36,6 +36,7 @@ sub get_monster_info {
exec "bin/monster-$branch", $monster or die "could not execute monster-$branch: $!";
};
+ binmode F, ":utf8";
local $/ = undef;
my $resp = <F>;
CORE::close(F);