From b3cb0cef1bd3f3644d160d19442bc46c065ce1ce Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Sat, 7 Jul 2012 13:43:44 -0700 Subject: [PATCH] read the log file as utf8 by default --- Debbugs/Log.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/Debbugs/Log.pm b/Debbugs/Log.pm index a28384d..e58d84a 100644 --- a/Debbugs/Log.pm +++ b/Debbugs/Log.pm @@ -201,6 +201,7 @@ sub new die "Unable to open bug log $bug_log for reading: $!"; } + binmode($self->{logfh},':utf8'); $self->{state} = 'kill-init'; $self->{linenum} = 0; return $self; -- 2.39.2