|
Can you try the following C++ code:
std::string s = "élephant";
std::cout << s << endl;
What does it print?
As a general note, I recommend to use unicode and std::wstring, and then convert to std::string:
std::wstring ws = ... "élephant" in unicode format ...
std::string s = IceUtil::wstringToString(ws); // s now holds "élephant" in utf-8
I don't think that this is the cause of your problems. But the on-the-wire string representation for the Ice protocol is UTF-8, not ISO-8859-15. If you don't use UTF-8, you won't be able to interoperate for example with Ice for Java if you use non-ASCII strings.
|