Unrecognizable Code when be selected in richviewedit

General TRichView support forum. Please post your questions here
Post Reply
li_nummereins
Posts: 12
Joined: Fri Dec 14, 2007 5:46 am

Unrecognizable Code when be selected in richviewedit

Post by li_nummereins »

I inputed a document into the richviewedit and set a pair of checkpoints into the document. Then used the SetSelectionBounds method to select the content between the pair of checkpoints. End, saved the selection to RVFStream.

After I got the RVFStream, inserted it into another richview. I found, there were unrecognizable codes in the richview.

By the way, the document includes Chinese and Japanese , the richviewedit and the richview,I have been set their UnicodeMode to rvruOnlyUnicode.

I want to know ,how to avoid the error.

Thank you very much.
Sergey Tkachenko
Site Admin
Posts: 17555
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Sorry, what is unrecognizable codes?
Please send me a simple project reproducing this problem.
li_nummereins
Posts: 12
Joined: Fri Dec 14, 2007 5:46 am

Post by li_nummereins »

:oops: ,I'm sorry very much. I had a mistake which was that I had not set rvstyle's textstyles unicode to true. After set it to unicode, all of this is ok.
Post Reply