mirror of
https://github.com/rejetto/hfs2.git
synced 2025-12-19 10:03:56 +01:00
attempt to solve the problem reported at http://rejetto.com/forum/index.php?topic=13288.msg1065650#msg1065650
This commit is contained in:
parent
9d65d35c3c
commit
4b16de3fb7
@ -929,12 +929,7 @@ result:=(fn > '')
|
||||
end;
|
||||
|
||||
function loadTextFile(fn:string):string;
|
||||
begin
|
||||
try result:=IOUtils.TFile.ReadAllText(fn)
|
||||
except result:='' end;
|
||||
try result:=UTF8decode(result)
|
||||
except end;
|
||||
end;
|
||||
begin result:=UTF8decode(loadfile(fn)) end;
|
||||
|
||||
function loadFile(fn:string; from:int64=0; size:int64=-1):ansistring;
|
||||
var
|
||||
|
||||
Loading…
Reference in New Issue
Block a user