1af1a432e2
This fixes UTF-16 BOM files being loaded incorrectly and having their newlines parsed incorrectly in read from end mode. Detected by PVS Studio.