Page 1 of 1

A problem with Chinese in GetItemTag

Posted: Fri Aug 17, 2012 6:56 am
by kisshexuxia
DELPHI XE
1:

Code: Select all

edit1.Text:='{"ChineseName":"月","Type":"数据字段","KEYID":"BMoth","MutiSelect":"FALSE","BZ":"、"}'
ActiveEditor.RichViewEdit.InsertStringTag('测试',edit1.Text);
2:then i SaveRVFToStream
3:then i LoadRVFFromStream

4:

Code: Select all

ActiveEditor.RichViewEdit.GetItemTag(itemno)
but then the tag unequal
it only show {"ChineseName":"月"

please help me !![/code]

Posted: Tue Aug 21, 2012 2:20 am
by kisshexuxia
it's BUG?

Posted: Tue Aug 21, 2012 3:31 am
by kisshexuxia
Because the middle have Chinese

Posted: Tue Aug 21, 2012 11:11 am
by Sergey Tkachenko
I cannot reproduce this problem. Please send me a simple project reproducing it.