Archived

This forum has been archived. Please start a new discussion on GitHub.

Chaotic coding between C++ and java

Occur Chaotic coding between C++ and java when i use UNICODE string(no English) as idl interface referrence .

how to resolve?

//////////C++:std::string
> java:String

Comments

  • I am not sure what you mean. Could you post a small, self-contained code example that illustrates the problem?

    Thanks,

    Michi.
  • bernard
    bernard Jupiter, FL
    Hi Leo,

    If you want to understand string encoding in Ice (in particular Ice for C++), I recommend reading my "Ice and Character Encoding" article, in issue 16 of the Connections newsletter.

    Since the publication of this article, we incorporated string converters directly into the Ice C++ library. See the String Conversion section in the Ice manual.

    Best regards,
    Bernard
  • thanks for reply.

    and

    bernard have said what I want,thanks again