X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=scripts%2Fprocess;h=1bcc940f98a5117e386ecce7f78a4070d58efcf3;hb=2046fad8a19036f6d3433cb9083a4c45581e34db;hp=aa001b11d2ba66138301fd4eabe6793b74015471;hpb=8e72be6352972cf95a53d238dddbd5fd591ae0c0;p=debbugs.git diff --git a/scripts/process b/scripts/process index aa001b1..1bcc940 100755 --- a/scripts/process +++ b/scripts/process @@ -170,6 +170,9 @@ my %pheader; # extract pseudo-headers for my $phline (@bodylines) { + # Remove BOM markers from UTF-8 strings + # Fixes #488554 + $phline =~ s/\xef\xbb\xbf//g; last if $phline !~ m/^([\w-]+):\s*(\S.*)/; my ($fn, $fv) = ($1, $2); $fv =~ s/\s*$//;