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 » WebSphere Message Broker (ACE) Support » Character Conversion Issue

Post new topic  Reply to topic
 Character Conversion Issue « View previous topic :: View next topic » 
Author Message
GregG
PostPosted: Wed Apr 25, 2007 5:16 am    Post subject: Character Conversion Issue Reply with quote

Novice

Joined: 31 Jul 2006
Posts: 18

I have read many of the posts regarding Character Conversion, but have not seen any that have the symptom I am having. I am trying to fix a compute node that errors due to casting error.

The MQMD has CCSID 437 and the message is coming in as a blob. I am trying to cast the blob to character for processing and storing in a DB.

Currently it is casting using CCSID 1208 and the problem character is a hex A3 (but other non-ascii characters also are common).

When I change the CCSID to any of the following 819, 5438 or 1252, the character seems to get converted correctly to the Pound sign, but an extra hex value is also being generated.

Hex A3 converts to Hex C2A3, (Hex C2 is an A Circumflex character).

Not sure why this is happening and wondering if anyone has any suggestions...
Thanks
Back to top
View user's profile Send private message
Nigelg
PostPosted: Wed Apr 25, 2007 11:31 pm    Post subject: Reply with quote

Grand Master

Joined: 02 Aug 2004
Posts: 1046

437, & 819 5348 1252 are single byte character sets. 1208 is multi-byte Unicode with variable number of bytes per character. the 'normal' character set, A-Z a-z 0-9 and most punctutation and special characters, represented in 437 by characters with a value less than 128 are also represented in 1208 by a single character, often the same as in 437.
However, many of the characters greater than 127 are converted to 1208 as double byte characters, as in your case with A3.
_________________
MQSeries.net helps those who help themselves..
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 » WebSphere Message Broker (ACE) Support » Character Conversion Issue
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.