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 » Issue in converting European characters

Post new topic  Reply to topic
 Issue in converting European characters « View previous topic :: View next topic » 
Author Message
kumar.shanj
PostPosted: Fri May 20, 2011 12:55 pm    Post subject: Issue in converting European characters Reply with quote

Apprentice

Joined: 18 Nov 2010
Posts: 49

In publish subscribe scenario, we are using CharSetId 1208.But when we are passing Polish characters like Schönberger, in the output message , it is being populated as Schönberger

/* Set the publication related fields */
SET OutputRoot.MQRFH2.psc.Command='Publish';
SET OutputRoot.MQRFH2.(MQRFH2.Field)NameValueCCSID = 1208;
SET OutputRoot.MQRFH2.(MQRFH2.Field)CodedCharSetId = 1208;
SET OutputRoot.MQMD.CodedCharSetId = 1208;
/* Set the XML declaration fields */
SET OutputRoot.XML.(XML.XmlDecl).(XML.Version) = '1.0';
SET OutputRoot.XML.(XML.XmlDecl).(XML.Encoding) = 'UTF-8';


I tried with giving xml encoding 'UTF-16', but no use.

Please suggest to correct the issue.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri May 20, 2011 4:28 pm    Post subject: Re: Issue in converting European characters Reply with quote

Grand High Poobah

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

kumar.shanj wrote:
In publish subscribe scenario, we are using CharSetId 1208.But when we are passing Polish characters like Schönberger, in the output message , it is being populated as Schönberger

/* Set the publication related fields */
SET OutputRoot.MQRFH2.psc.Command='Publish';
SET OutputRoot.MQRFH2.(MQRFH2.Field)NameValueCCSID = 1208;
SET OutputRoot.MQRFH2.(MQRFH2.Field)CodedCharSetId = 1208;
SET OutputRoot.MQMD.CodedCharSetId = 1208;
/* Set the XML declaration fields */
SET OutputRoot.XML.(XML.XmlDecl).(XML.Version) = '1.0';
SET OutputRoot.XML.(XML.XmlDecl).(XML.Encoding) = 'UTF-8';


I tried with giving xml encoding 'UTF-16', but no use.

Please suggest to correct the issue.


Try setting OutputRoot.Properties.CodedCharSetId to 1208.

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
rekarm01
PostPosted: Sun May 22, 2011 12:55 pm    Post subject: Re: Issue in converting European characters Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 1415

kumar.shanj wrote:
In publish subscribe scenario, we are using CharSetId 1208.But when we are passing Polish characters like Schönberger, in the output message , it is being populated as Schönberger

Look at the input ccsid, and the input message. If that's wrong, then tweaking the output ccsid in the message flow won't help.

kumar.shanj wrote:
Code:
         /* Set the XML declaration fields */
         SET OutputRoot.XML.(XML.XmlDecl).(XML.Version) = '1.0';
         SET OutputRoot.XML.(XML.XmlDecl).(XML.Encoding) = 'UTF-8';

XML is deprecated. Use XMLNSC.
Back to top
View user's profile Send private message
kumar.shanj
PostPosted: Tue May 24, 2011 5:19 am    Post subject: Reply with quote

Apprentice

Joined: 18 Nov 2010
Posts: 49

we are still using WMB 6.0 and support has been extended till april 2012.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue May 24, 2011 8:11 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

kumar.shanj wrote:
we are still using WMB 6.0 and support has been extended till april 2012.


You may have an extended support contract, that is not the same thing as saying that Broker v6.0 support is extended to April 2012.

Unless you have specifically purchased an extended support contract, Broker version 6.0 is completely out of support as of April 30, 2011.
Back to top
View user's profile Send private message
Vanshul_MB
PostPosted: Tue May 31, 2011 4:00 am    Post subject: Reply with quote

Acolyte

Joined: 09 Feb 2011
Posts: 68

SET OutputRoot.Properties.CodedCharSetId='1208';
SET OutputRoot.Properties.Encoding='546';

This will solve the issue.
We are able to handle 37 languages including Chinese and Japanese...
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 » Issue in converting European characters
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.