From 871502f5eabc4fd0025546ccb3988ae4c446735f Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Tue, 15 Apr 2014 16:42:29 -0700 Subject: [PATCH] Because we now properly decode UTF8, in order to strip the BOM, we need to strip \N{U+FEFF}, not 0xEFBBBF. --- scripts/process | 1 + 1 file changed, 1 insertion(+) 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*$//; -- 2.39.2