|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Junk characters appearing while fetching using MQGET |
« View previous topic :: View next topic » |
Author |
Message
|
sayan |
Posted: Sat Feb 23, 2008 12:30 am Post subject: Junk characters appearing while fetching using MQGET |
|
|
Novice
Joined: 22 Feb 2008 Posts: 13
|
Hi,
We have done a MQ setup where the server is installed in Linux and the client is in UNIX. Our application program interacts with another application the details of which are unknown right now.
Anyways, when our application fetches from the queue with MQGET it displays some Junk characters.
The only detail we know that the message we are receiving is sent in
cp1250 format and our application works only in utf-8 format.
Could anyone provide me with the possible reason for this and the solution as well. |
|
Back to top |
|
 |
Vitor |
Posted: Sat Feb 23, 2008 3:35 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Make sure you're doing a get with convert _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
jefflowrey |
Posted: Sat Feb 23, 2008 6:21 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Make sure that the person who wrote the unknown app didn't decide to use writeUTF(), which will add a Byte Order Mark to the front of the data, and basically can't be read without using readUTF(), and is never really what you want for sending utf-8, or any other Unicode format. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|