Browse Source

* Skip UTF-8 BOM.

git-svn-id: trunk@10732 -
yury 17 years ago
parent
commit
f9eb22394d
1 changed files with 2 additions and 0 deletions
  1. 2 0
      tests/utils/testu.pp

+ 2 - 0
tests/utils/testu.pp

@@ -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);