Archived
This forum has been archived. Please start a new discussion on GitHub.
*.ice
does slice2cpp or slice2cs support unicode variable name definition?
Just like:
struct 物体
{
string 名称;
//...
};
Just like:
struct 物体
{
string 名称;
//...
};
0
Comments
-
No, Slice only supports ASCII for the names.0
-
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 -
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 -
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.0