mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-14 20:39:34 +02:00
* Skip UTF-8 BOM.
git-svn-id: trunk@10732 -
This commit is contained in:
parent
30cb2b088b
commit
f9eb22394d
@ -157,6 +157,8 @@ begin
|
||||
while not eof(t) do
|
||||
begin
|
||||
readln(t,s);
|
||||
if Copy(s,1,3)=#$EF#$BB#$BF then
|
||||
delete(s,1,3);
|
||||
if s<>'' then
|
||||
begin
|
||||
TrimB(s);
|
||||
|
Loading…
Reference in New Issue
Block a user