I used the following code in Delphi 2006 to move the text (with formatting stuff) of a TRichEdit component to a string variable :
RTF.PlainText := False;
MS := TMemoryStream.Create;
This was perfect with Delphi 2006, but now it does not work correctly with Delphi 2009 due to Unicode
What shall I code ?