LazFileUtils: use Utf8ToSys in the unix implementation of FileOpenUtf8.

git-svn-id: trunk@41278 -
This commit is contained in:
bart 2013-05-19 11:12:52 +00:00
parent 1b61e2844c
commit 39903ad024

View File

@ -7,7 +7,7 @@ end;
function FileOpenUTF8(Const FileName : string; Mode : Integer) : THandle; function FileOpenUTF8(Const FileName : string; Mode : Integer) : THandle;
begin begin
Result := SysUtils.FileOpen(FileName, Mode); Result := SysUtils.FileOpen(UTF8ToSys(FileName), Mode);
end; end;
function FileCreateUTF8(Const FileName : string) : THandle; function FileCreateUTF8(Const FileName : string) : THandle;