X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Debbugs%2FCommon.pm;h=f3c8218ea66cf1cc8e63e6ac77e22fd31d5a2f47;hb=c3327b5d6f1eaeabfe09bff46b37ba258e18a16d;hp=b59e6fa88b5985287e319af836de7aafb31113db;hpb=764af08d720978fc78dacc499b0440b2e476c71b;p=debbugs.git diff --git a/Debbugs/Common.pm b/Debbugs/Common.pm index b59e6fa..f3c8218 100644 --- a/Debbugs/Common.pm +++ b/Debbugs/Common.pm @@ -432,6 +432,7 @@ sub __add_to_hash { $type //= 'address'; my $fh = IO::File->new($fn,'r') or die "Unable to open $fn for reading: $!"; + binmode($fh,':encoding(UTF-8)'); while (<$fh>) { chomp; next unless m/^(\S+)\s+(\S.*\S)\s*$/;