RTF paste problem
Posted: Tue Nov 06, 2007 2:50 am
I am using Korean version Windows.
When I copy & paste korean characters from the NotePad to a RichViewEdit, it is O.K.
But when I copy and paste korean characters from the WordPad or the MS word, it is something wrong.
The pasted korean characters looks well, but the RichView cursor does not move by one character. Twice arrow key stroke move one korean character. And if I delete one Korean character, the character is broken and appears another strange character. If I delete twice, one korean characte is deleted.
This situation occures when the RTFReadProperties.TextStyleMode property is set to rvrsUseClosest or rvrsAddIfNeeded.
If the RTFReadProperties.TextStyleMode property is set to rvrsUseSpecified, the Copy&Paste from Notepad, WordPad and MS word works well.
(To use unicode, I set the RTFReadProperties.UnicodeMode property to rvruMixed and all TextStyles's Unicode properties to true.)
Is it a bug?
How could I solve this problem?
Thanks in advance.
SeungHo Jung
When I copy & paste korean characters from the NotePad to a RichViewEdit, it is O.K.
But when I copy and paste korean characters from the WordPad or the MS word, it is something wrong.
The pasted korean characters looks well, but the RichView cursor does not move by one character. Twice arrow key stroke move one korean character. And if I delete one Korean character, the character is broken and appears another strange character. If I delete twice, one korean characte is deleted.
This situation occures when the RTFReadProperties.TextStyleMode property is set to rvrsUseClosest or rvrsAddIfNeeded.
If the RTFReadProperties.TextStyleMode property is set to rvrsUseSpecified, the Copy&Paste from Notepad, WordPad and MS word works well.
(To use unicode, I set the RTFReadProperties.UnicodeMode property to rvruMixed and all TextStyles's Unicode properties to true.)
Is it a bug?
How could I solve this problem?
Thanks in advance.
SeungHo Jung