]> git.donarmstrong.com Git - debbugs.git/commitdiff
read the log file as utf8 by default
authorDon Armstrong <don@donarmstrong.com>
Sat, 7 Jul 2012 20:43:44 +0000 (13:43 -0700)
committerDon Armstrong <don@donarmstrong.com>
Sat, 7 Jul 2012 20:43:44 +0000 (13:43 -0700)
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;