newslash
Revision | 8a9f39ce5ddb140452f4c75f2c2fbafa3ff2d0f5 (tree) |
---|---|
Time | 2017-11-24 20:06:18 |
Author | hylom <hylom@user...> |
Commiter | hylom |
@@ -50,7 +50,7 @@ sub _generate { | ||
50 | 50 | return; |
51 | 51 | } |
52 | 52 | my $fh = FileHandle->new; |
53 | - if ($fh->open($pathname, "r")) { | |
53 | + if ($fh->open($pathname, "<:utf8")) { | |
54 | 54 | $content = do { local $/; <$fh> }; |
55 | 55 | $fh->close; |
56 | 56 | } |