From: Don Armstrong Date: Tue, 15 Apr 2014 23:42:29 +0000 (-0700) Subject: Because we now properly decode UTF8, in order to strip the BOM, we X-Git-Tag: release/2.6.0~265 X-Git-Url: https://git.donarmstrong.com/?p=debbugs.git;a=commitdiff_plain;h=871502f5eabc4fd0025546ccb3988ae4c446735f Because we now properly decode UTF8, in order to strip the BOM, we need to strip \N{U+FEFF}, not 0xEFBBBF. --- diff --git a/scripts/process b/scripts/process index 17aa15b..d42a1f9 100755 --- a/scripts/process +++ b/scripts/process @@ -224,6 +224,7 @@ for my $phline (@bodylines) # Remove BOM markers from UTF-8 strings # Fixes #488554 $phline =~ s/\xef\xbb\xbf//g; + $phline =~ s/\N{U+FEFF}//g; last if $phline !~ m/^([\w-]+):\s*(\S.*)/; my ($fn, $fv) = ($1, $2); $fv =~ s/\s*$//;