mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-17 14:49:16 +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
|
while not eof(t) do
|
||||||
begin
|
begin
|
||||||
readln(t,s);
|
readln(t,s);
|
||||||
|
if Copy(s,1,3)=#$EF#$BB#$BF then
|
||||||
|
delete(s,1,3);
|
||||||
if s<>'' then
|
if s<>'' then
|
||||||
begin
|
begin
|
||||||
TrimB(s);
|
TrimB(s);
|
||||||
|
Loading…
Reference in New Issue
Block a user