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 » Code conversion problem

Post new topic  Reply to topic
 Code conversion problem « View previous topic :: View next topic » 
Author Message
RangaKovela
PostPosted: Fri Feb 20, 2015 6:37 am    Post subject: Code conversion problem Reply with quote

Apprentice

Joined: 10 May 2011
Posts: 38

Hi MQ Experts,
Environment : MQ On solaris with Qmgr with CCSID 819. Locale :ISO 8859-1

One my clients posting message from Windows server using .net client. The message contains characters from various European languages like ÄäÉéÖöÜüß"""""°€£

Receiving application hosted on UNIX machine connecting to qmgr in client mode to same local and consuming messgae.

While consuming message above European languages are getting converted to special characters.

We have recommended receiving application to convert data using MQGMO_CONVERT options. However, application team is not ready to change code.

We don't have option to change it over channel with CONVERT(YES) as it is local queue only.

I am trying to change CCSID of QMGR from 819 to 1208 followed by restart which failed to work. I am afraid changing CCSID will have impact on other interfaces. Is there any way to tackle this problem? What is CCSID of European languages on Solaris machine.

thanks in advance..
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Feb 20, 2015 6:49 am    Post subject: Re: Code conversion problem Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

RangaKovela wrote:
One my clients posting message from Windows server using .net client. The message contains characters from various European languages like ÄäÉéÖöÜüß"""""°€£


What is the code page of the message payload? Typically .NET strings are in one of the Unicode flavours. Is this code page accurately reflected in the CCSID field of the MQMD?

RangaKovela wrote:
We have recommended receiving application to convert data using MQGMO_CONVERT options. However, application team is not ready to change code.


If the sending application is using Unicode or a different code page to the receiving application (which seems likely given the symptoms you describe) then they either need to ask WMQ to convert the payload or do it within their application code or have the .NET people create it in the correct code page. It's not going to automagically fix itself.

RangaKovela wrote:
I am trying to change CCSID of QMGR from 819 to 1208 followed by restart which failed to work.


If the queue manager is not being asked to perform converstion either by the application specifying the convert option or the convert option on a channel, it really doesn't matter what the queue manager's CCSID is. It'll never refer to it, because it doesn't need to know what it is because it's not converting to it.

RangaKovela wrote:
I am afraid changing CCSID will have impact on other interfaces.


Like any applications that are doing the sensible thing and asking the queue manager to perform conversion? I'd say you're right to be afraid.

RangaKovela wrote:
Is there any way to tackle this problem?


The 3 options I list above:

- The receiving application sets the convert option
- The receiving application converts the payload within the code
- The sending application creates the message in the correct code page

RangaKovela wrote:
What is CCSID of European languages on Solaris machine.


There's not a single code page that covers all European symbols, except obviously Unicode. For the traditional ASCII code pages, see here
_________________
Honesty is the best policy.
Insanity is the best defence.
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 » Code conversion problem
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.