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 » Message encoding issues

Post new topic  Reply to topic
 Message encoding issues « View previous topic :: View next topic » 
Author Message
MQEnthu
PostPosted: Wed Jan 09, 2013 2:09 am    Post subject: Message encoding issues Reply with quote

Partisan

Joined: 06 Oct 2008
Posts: 329
Location: India

Hi,

Scenario:
Sending application is sending the UTF-16 Bigendien message with CCSID set to 1200 (I can see in the MQMD header and confirm that the CCSID is set 1200). And I used rfhutilc to read the message from queue. And when I see the data tab in rfhutilc, the message it looks fine and the hexa is displayed correctly. For instance for "<" hex is 0X"003C". However the same message I am writing into a file using RFHUTILC and then when I open the file in a editer and see the HEX values it has become "0X3C00". Looks like they are getting converted UTF-16 LE. But that is strange as I am doing any conversion. And if I choose option on rfhutilc to exclude the MQMD and just write the data into file. The data looks perfectcly fine i.e hex value of "<" is shown as 0X "003C".

Can some please advice where is it getting converted and why is different when I save with MQMD and without MQMD using rfhutilc.


Thanks in anticipation.
_________________
-----------------------------------------------
It is good to remember the past,
but don't let past capture your future
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Jan 09, 2013 2:53 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Might all depend on the "endian-ness" of the platform on which you read the message and save it...
Why not use UTF-8 ?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
MQEnthu
PostPosted: Wed Jan 09, 2013 3:56 am    Post subject: Reply with quote

Partisan

Joined: 06 Oct 2008
Posts: 329
Location: India

I asked applications to use UTF-8, some how they are not okay with it...

if it depends on the system..how does it vary when I save it with MQMD and without MQMD???
_________________
-----------------------------------------------
It is good to remember the past,
but don't let past capture your future
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 » Message encoding issues
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.