ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » Hexidecimal '00' appears in every other char on incoming msg

Post new topic  Reply to topic
 Hexidecimal '00' appears in every other char on incoming msg « View previous topic :: View next topic » 
Author Message
manjo
PostPosted: Tue Feb 17, 2004 11:53 am    Post subject: Hexidecimal '00' appears in every other char on incoming msg Reply with quote

Novice

Joined: 29 Nov 2001
Posts: 15

Hello,

An outside entity is sending us a message (so I don't know what code or platform he is using), and when the msg arrives it has a hexidecimal '00' between every character. Like this:

MQ Explorer data display:

55 00 20 00 42 00 49 00 U. .B.I.
4F 00 4D 00 30 00 36 00 O.M.0.6.
34 00 30 00 30 00 30 00 4.0.0.0.
30 00 30 00 31 00 20 00 0.0.1. .

when it should look like this:

55 20 42 49 4F 4D 30 36 U BIOM06
34 30 30 30 30 30 31 20 4000001

I'm not sure this guy is going to be able to figure out what's wrong, so
I was just wondering if anyone knew the obvious anwer to this?
Why do the hex '00' show up in the message?

I saw a previous post mentioning hex under a different scenario, but it had something to do with PutMQ vs. PutMQAny, but that seemed to cause the whole message to be hex, rather than every other char.

Any ideas without seeing the othey guy's code?

Thanks,
Margaret
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Feb 17, 2004 12:22 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

I bet he's sending Unicode.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
manjo
PostPosted: Tue Feb 17, 2004 1:46 pm    Post subject: Reply with quote

Novice

Joined: 29 Nov 2001
Posts: 15

Thanks for that! The guy I'm working with is on the other side of the planet so I won't know until at least tomorrow, but I'll let you know if that's the issue. Thanks again!

Margaret
Back to top
View user's profile Send private message
manjo
PostPosted: Mon Feb 23, 2004 9:41 am    Post subject: Reply with quote

Novice

Joined: 29 Nov 2001
Posts: 15

Just a follow-up to the hexidecimal issue. You were absolutely correct about it being a Unicode issue. Thank you so much!

Margaret
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Hexidecimal '00' appears in every other char on incoming msg
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.