Problem with rendertorichtextitem

I copy paste some data in richtext lite field on the uidocument. Then this uidocument is renderedtorichtextitem in the memo body and sent. Most of the memo is displayed properly howeve some middle part of the pasted data is lost. I mean suppose I paste

Aaaaaaaaaaaaaaaa

bbbbbbbbbbbbbbbb

bbbbbbbbbbbbbbb

bbbbbbbbbbbbbbb

bbbbbbbbbbbbbbbbbbbbbb

bbbbbbbbbbbbbbbbbbbbb

cccccccccccccccccccc

Thsn AAAAAA and one or more BBBB lines appear in the mail then middle portion of BBBbbbbb lines are lost and again CCCCCCCCCCCC appears in the mail.

The uidocument gets saved properly but this problem is appearing in the mail only

Subject: Problem with rendertorichtextitem

Depends on from where you cut the text. Most likely, it was from a MSFT application and that cut text may contain non-standard, hidden characters that Notes does not understand.

Try pasting into Notepad first and the copy from Notepad to Notes Rich Text field. See if everything shows up then.