Hello,
I made a C++ server sending strings to a C# client.
The string contains characters like "é". Finally, the client receives an Unmarshall exception. Obviously, the source file is encoded in utf8.
I made a test with wstring :
and now it works.Code:std::wstring ws = L"é"; std::string myString = IceUtil::wstringToString(ws);
I'm using ice 3.3.0, and I read on previously threads that those kinds of bug have been corrected. So I don't understand why I can't directly use std::string, when my file is encoding in utf8.
Thanks for your help.

Reply With Quote