mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-06 17:58:15 +02:00
aggpas: unicode file names
git-svn-id: trunk@46825 -
This commit is contained in:
parent
a66b5d4e74
commit
2fd3d1310c
@ -43,7 +43,7 @@ uses
|
||||
agg_trans_affine ,
|
||||
agg_math_stroke ,
|
||||
expat ,
|
||||
FileUtil ;
|
||||
FileUtil, LazUTF8Classes ;
|
||||
|
||||
{ TYPES DEFINITION }
|
||||
const
|
||||
@ -659,9 +659,9 @@ end;
|
||||
|
||||
procedure parser.parse(fname: string);
|
||||
var
|
||||
fs: TFileStream;
|
||||
fs: TFileStreamUTF8;
|
||||
begin
|
||||
fs:=TFileStream.Create(UTF8ToSys(fname),fmOpenRead+fmShareDenyWrite);
|
||||
fs:=TFileStreamUTF8.Create(fname,fmOpenRead+fmShareDenyWrite);
|
||||
try
|
||||
parse(fs);
|
||||
finally
|
||||
|
Loading…
Reference in New Issue
Block a user