A problem with Chinese in GetItemTag

General TRichView support forum. Please post your questions here
Post Reply
kisshexuxia
Posts: 29
Joined: Mon May 07, 2012 2:36 am

A problem with Chinese in GetItemTag

Post 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]
kisshexuxia
Posts: 29
Joined: Mon May 07, 2012 2:36 am

Post by kisshexuxia »

it's BUG?
kisshexuxia
Posts: 29
Joined: Mon May 07, 2012 2:36 am

Post by kisshexuxia »

Because the middle have Chinese
Sergey Tkachenko
Site Admin
Posts: 17559
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

I cannot reproduce this problem. Please send me a simple project reproducing it.
Post Reply