Results 1 to 5 of 5

Thread: *.ice

  1. #1
    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!

  2. #2
    dwayne's Avatar
    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
    397
    No, Slice only supports ASCII for the names.

  3. #3
    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!

  4. #4
    dwayne's Avatar
    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
    397
    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.

  5. #5
    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!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •