mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 20:59:08 +02:00
LazFileUtils: use Utf8ToSys in the unix implementation of FileOpenUtf8.
git-svn-id: trunk@41278 -
This commit is contained in:
parent
1b61e2844c
commit
39903ad024
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user