Chinese command name can't work


(linqx) #1

Hello.
when execute command using DAremotecommand with the chinese command name,Get the exception:
DARemoteCommand1.Execute('更新定义',['MyValue'],[DateTimeToStr(now)]);

but change command name to English,it work fine.
DARemoteCommand1.Execute('doUpdate',['MyValue'],[DateTimeToStr(now)]);
callstack info:


example:
test for RemObjects Data Abstract for Delphi, Server Edition - 9.2.0.1309.
VCLApplication.rar (124.0 KB)


Exception: Invalid GUID:?
(RemObjects) #2

Thanks, logged as bugs://78072


(EvgenyK) #3

can you create DDL script for this testcase in UTF8 or Unicode format, pls?
as I see, Chinese has two dialects with at least 10 code pages…


(linqx) #4

Only Chinese command name can’t work,Chinese DDL script is work fine.
My code pages is 936.
The UTF8 format DDL script:
DDLScript.txt (576 Bytes)


(EvgenyK) #5

change datatype of aCommandName parameter from rtString to rtUTF8String in DARemoteCommand1.ExecuteCall.Params


(RemObjects) #6

bugs://78072 got closed with status fixed.