The internal transport representation for javax.jms.TextMessage is UTF. If you have captured the character data from the socket, which is what I assume you are using for talking with your C++ app, verify that you are constructing the string correctly.
Socket s; byte b = new byte; s.getInputStream().read(b, 0, 1000); String str = new String(b, "big5");
In other words, probably not a JMS bug.
Thanks for this help. I will try it and give you feedback asap.
By the way, I am using the MapMessage and not the TextMessage, is it the same case?
Thanks in advanced.
It worked. Thanks.