Changeset 11 for trunk/UMainForm.pas
- Timestamp:
- Feb 10, 2012, 2:10:20 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UMainForm.pas
r10 r11 210 210 ProjectFileName := 'Project.b'; 211 211 MemoSource.Clear; 212 Modified := False; 212 213 UpdateInterface; 213 214 end; … … 217 218 OpenDialog1.FileName := ProjectFileName; 218 219 if OpenDialog1.Execute then begin 219 MemoSource.Lines.LoadFromFile( OpenDialog1.FileName);220 MemoSource.Lines.LoadFromFile(UTF8Decode(OpenDialog1.FileName)); 220 221 ProjectFileName := OpenDialog1.FileName; 221 222 UpdateInterface; 223 Modified := False; 222 224 end; 223 225 end; … … 227 229 SaveDialog1.FileName := ProjectFileName; 228 230 if SaveDialog1.Execute then begin 229 MemoSource.Lines.SaveToFile( SaveDialog1.FileName);231 MemoSource.Lines.SaveToFile(UTF8Decode(SaveDialog1.FileName)); 230 232 ProjectFileName := SaveDialog1.FileName; 231 233 Modified := False;
Note:
See TracChangeset
for help on using the changeset viewer.