K Kent Tong Member Sep 1, 2016 #1 Hi, After assigning some Chinese characters to it, the calc field will get a value of empty. Please check the screenshot for a test case: s1 will end up as empty while s2 will work fine. Screenshot:
Hi, After assigning some Chinese characters to it, the calc field will get a value of empty. Please check the screenshot for a test case: s1 will end up as empty while s2 will work fine. Screenshot:
K Kent Tong Member Sep 2, 2016 #1 Hi, Marco Thanks! You can use the following strings for testing: Code: s1 := '#19968#20108#19977'; s2 := '#20844#21209#21729'; The first will get converted as to an empty string when it is assigned to a TWideStringField calculated field: Code: mycalcField1.AsWideString := s1; if mycalcField1.AsWideString <> s1 then ShowMessage('changed!'); Many thanks! Last edited: Sep 2, 2016
Hi, Marco Thanks! You can use the following strings for testing: Code: s1 := '#19968#20108#19977'; s2 := '#20844#21209#21729'; The first will get converted as to an empty string when it is assigned to a TWideStringField calculated field: Code: mycalcField1.AsWideString := s1; if mycalcField1.AsWideString <> s1 then ShowMessage('changed!'); Many thanks!