Page 1 of 1

Unrecognizable Code when be selected in richviewedit

Posted: Fri Jun 13, 2008 2:10 am
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.

Posted: Fri Jun 13, 2008 9:31 am
by Sergey Tkachenko
Sorry, what is unrecognizable codes?
Please send me a simple project reproducing this problem.

Posted: Fri Jun 13, 2008 12:53 pm
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.