JorgeSerna
Programmer
Hi,
I'm working on a client application in Java that must access a QMGR in a Solaris system. The QMGR has a CCSID value of 437 (this must be so because it sends messages to a NT server which cannot change its CCSID).
The system goes well using amqsput/amqsget, even using special Spanish characters, such as Ñ.
But when I use the Java client to put a message, and then I retrieve it using amqsget, Spanish characters are modified (Ñ turns into ¥).
The code I use to set the CCSID on the message is as follows:
message.format = MQC.MQFMT_STRING;
message.characterSet = 437;
message.writeString(content);
Is there something missing? Can anybody help?
thank you very much,
Jorge
I'm working on a client application in Java that must access a QMGR in a Solaris system. The QMGR has a CCSID value of 437 (this must be so because it sends messages to a NT server which cannot change its CCSID).
The system goes well using amqsput/amqsget, even using special Spanish characters, such as Ñ.
But when I use the Java client to put a message, and then I retrieve it using amqsget, Spanish characters are modified (Ñ turns into ¥).
The code I use to set the CCSID on the message is as follows:
message.format = MQC.MQFMT_STRING;
message.characterSet = 437;
message.writeString(content);
Is there something missing? Can anybody help?
thank you very much,
Jorge