I written a program with Delphi 7 which searches *.srt files on a hard drive. This program lists the path and name of these files in a memo. Now I need convert
*.srt
I did only this:
procedure TForm1.FormCreate(Sender: TObject); begin Strings := TStringList.Create; end; procedure TForm1.Button3Click(Sender: TObject); begin Strings.Text := UTF8Encode(Memo1.Text); Strings.SaveToFile('new.txt'); end;
Verified with Notepad++ UTF8 without BOM