does slice2cpp or slice2cs support unicode variable name definition?
Just like:
struct 物体
{
string 名称;
//...
};
0
Comments
dwayneSt. John's, NewfoundlandMemberDwayne BooneOrganization: ZeroC, Inc.Project: Internet Communications Engine✭
No, Slice only supports ASCII for the names.
0
kinsungMemberkinsungOrganization: AF Engineering UniversityProject: simulation applications remote controler, data dri✭
does slice2cpp or slice2cs support unicode variable name definition?
Thank you!
So I should write a script to replace unicode name for "ID_number", and after slice2cs finished it's work, replace back "ID_number" for unicode name.:)
By the way, sorry for the bad title.
0
dwayneSt. John's, NewfoundlandMemberDwayne BooneOrganization: ZeroC, Inc.Project: Internet Communications Engine✭
So I should write a script to replace unicode name for "ID_number", and after slice2cs finished it's work, replace back "ID_number" for unicode name.:)
I would not recommend doing that. Ice does not expect unicode names internally and it may not work. Even if it does we cannot guarantee that it will continue to do so in future versions.
0
kinsungMemberkinsungOrganization: AF Engineering UniversityProject: simulation applications remote controler, data dri✭
ICE runtime environment don't remember any variable name information. It communicates olny by the bytes stream. So I think it is OK on these current version of ICE.
Comments
Thank you!
So I should write a script to replace unicode name for "ID_number", and after slice2cs finished it's work, replace back "ID_number" for unicode name.:)
By the way, sorry for the bad title.
I would not recommend doing that. Ice does not expect unicode names internally and it may not work. Even if it does we cannot guarantee that it will continue to do so in future versions.