Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 07-03-2009
kinsung kinsung is offline
Registered User
 
Name: kinsung
Organization: AF Engineering University
Project: simulation applications remote controler, data dri
 
Join Date: Nov 2006
Posts: 13
*.ice

does slice2cpp or slice2cs support unicode variable name definition?
Just like:

struct 物体
{
string 名称;
//...
};
__________________
kinsung
AF Engineering University

Ice projects:
simulation applications remote controler
data driver application through network

Thank you guys for your great jobs!
Reply With Quote
  #2 (permalink)  
Old 07-03-2009
dwayne's Avatar
dwayne dwayne is offline
ZeroC Staff
 
Name: Dwayne Boone
Organization: ZeroC, Inc.
Project: Internet Communications Engine
 
Join Date: Jan 2005
Location: St. John's, Newfoundland
Posts: 363
No, Slice only supports ASCII for the names.
Reply With Quote
  #3 (permalink)  
Old 07-03-2009
kinsung kinsung is offline
Registered User
 
Name: kinsung
Organization: AF Engineering University
Project: simulation applications remote controler, data dri
 
Join Date: Nov 2006
Posts: 13
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.
__________________
kinsung
AF Engineering University

Ice projects:
simulation applications remote controler
data driver application through network

Thank you guys for your great jobs!
Reply With Quote
  #4 (permalink)  
Old 07-05-2009
dwayne's Avatar
dwayne dwayne is offline
ZeroC Staff
 
Name: Dwayne Boone
Organization: ZeroC, Inc.
Project: Internet Communications Engine
 
Join Date: Jan 2005
Location: St. John's, Newfoundland
Posts: 363
Quote:
Originally Posted by kinsung View Post
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.
Reply With Quote
  #5 (permalink)  
Old 07-06-2009
kinsung kinsung is offline
Registered User
 
Name: kinsung
Organization: AF Engineering University
Project: simulation applications remote controler, data dri
 
Join Date: Nov 2006
Posts: 13
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.
__________________
kinsung
AF Engineering University

Ice projects:
simulation applications remote controler
data driver application through network

Thank you guys for your great jobs!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 08:55 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2009 ZeroC, Inc.