From: Don Armstrong Date: Thu, 14 Mar 2013 21:16:46 +0000 (-0700) Subject: the realtime file needs to be in UTF-8 X-Git-Tag: release/2.6.0~306^2~5 X-Git-Url: https://git.donarmstrong.com/?p=debbugs.git;a=commitdiff_plain;h=e88e5e0fc51c5df14a95030a779232e783727fb6 the realtime file needs to be in UTF-8 --- diff --git a/Debbugs/Status.pm b/Debbugs/Status.pm index 7d72c03..c66ab41 100644 --- a/Debbugs/Status.pm +++ b/Debbugs/Status.pm @@ -1615,6 +1615,7 @@ sub update_realtime { my $idx_new = IO::File->new($file.'.new','w') or die "Couldn't open ${file}.new: $!"; + binmode($idx_new,':raw:encoding(UTF-8)'); my $min_bug = min(keys %bugs); my $line; my @line;