Changeset 290 for Common/UCommon.pas
- Timestamp:
- Nov 4, 2011, 11:42:45 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Common/UCommon.pas
r282 r290 7 7 uses 8 8 {$IFDEF Windows}Windows,{$ENDIF} 9 Classes, SysUtils, S pecializedList, StrUtils, Dialogs, Process,9 Classes, SysUtils, StrUtils, Dialogs, Process, 10 10 FileUtil; //, ShFolder, ShellAPI; 11 11 … … 102 102 Path := IncludeTrailingPathDelimiter(APath); 103 103 104 Find := FindFirst( Path + AFileSpec, faAnyFile xor faDirectory, SearchRec);104 Find := FindFirst(UTF8Decode(Path + AFileSpec), faAnyFile xor faDirectory, SearchRec); 105 105 while Find = 0 do begin 106 DeleteFile (Path + SearchRec.Name);106 DeleteFileUTF8(Path + UTF8Encode(SearchRec.Name)); 107 107 108 108 Find := SysUtils.FindNext(SearchRec);
Note:
See TracChangeset
for help on using the changeset viewer.