Explorar o código

* Skip UTF-8 BOM.

git-svn-id: trunk@10732 -
yury %!s(int64=17) %!d(string=hai) anos
pai
achega
f9eb22394d
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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);