Code: Select all
procedure TRichForm.RichMemoSaveComponentToFile(Sender: TCustomRichView;
Path: string; SaveMe: TPersistent; SaveFormat: TRVSaveFormat;
var OutStr: string);
begin
if SaveMe is TCustomEdit then
OutStr := TCustomEdit(SaveMe).Text;
end;
What is the best way of saving components with Unicode characters to RTF to preserve all possible characters?