Archived
This forum has been archived. Please start a new discussion on GitHub.
Is information of an exception must utf-8 in 3.5.1?
Hi,
We upgraded ice from 3.4.2 to 3.5.1.
But we got garbled, when we catched an exception.
So,
1 Is information of an exception must utf-8 in 3.5.1?
2 And if I want to get information of an exception like the way before(3.4.2), what should I do before or after I catched a exception?
Thanks,
Gu.
We upgraded ice from 3.4.2 to 3.5.1.
But we got garbled, when we catched an exception.
Network.cpp:2513: Ice::ConnectionRefusedException: connection refused: //messy code
So,
1 Is information of an exception must utf-8 in 3.5.1?
2 And if I want to get information of an exception like the way before(3.4.2), what should I do before or after I catched a exception?
Thanks,
Gu.
0
Comments
-
Hi,
That's correct, this was changed with Ice 3.5, the message string is now UTF-8. You'll need to set your console to use UTF-8 to get the correct value. There's currently no easy way to convert this string to a native string.
Cheers,
Benoit.0 -
Thanks,
benoit
Gu.0