]> git.donarmstrong.com Git - debbugs.git/blobdiff - Debbugs/Log.pm
read the log file as utf8 by default
[debbugs.git] / Debbugs / Log.pm
index a28384de59bd5ddaf9ce41d8b32f7b8dbd504779..e58d84ae486bf9d2892fbd7b54940e50c2df09d9 100644 (file)
@@ -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;