The ceck is only done at the start of a line, because in other places the BOM will be glued to the preceding character. This partially addresses https://bugs.debian.org/964901. Reported-by: Nils König <oneric@oneric.de>