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 » Special Character Issue in MB6.1

Post new topic  Reply to topic
 Special Character Issue in MB6.1 « View previous topic :: View next topic » 
Author Message
Senthamizh
PostPosted: Thu Dec 31, 2009 10:01 pm    Post subject: Special Character Issue in MB6.1 Reply with quote

Apprentice

Joined: 21 Dec 2009
Posts: 47

Hi

My flow has a FileInput Node --> ComputNode --> PublishNode in AIX.

The input message has a speicial Char "°" (degree symbol). While publishing the output xml, it tries to parse the xml and since it is not able to parse this special character, it throws an error.

The same input with special character works well in V5. http://www-01.ibm.com/support/docview.wss?rs=849&context=SSKM8N&dc=DB520&dc=DB560&uid=swg21296565&loc=en_US&cs=UTF-8&lang=en&rss=ct849websphere

I tried using code page 1208, 819, 437, in both properties and MQMD header of the output message. It didn't work.

Since my input was a fileinput node , I also tried using
SET OutputRoot.Properties.CodedCharSetID = InputRoot.Properties.CodedCharSetID

SET OutputRoot.MQMD.CodedCharSetID = InputRoot.Properties.CodedCharSetID

But Nothing worked for me.

The user trace is pasted below
Code:
RecoverableException  BIP2230E: Error detected whilst processing a message in node 'publish'.
 The message broker detected an error whilst processing a message in node 'publish'. An exception has been thrown to cut short the processing of the message.
 See the following messages for details of the error.
ParserException  BIP5010E: XML Writing Errors have occurred.
 Errors have occurred during writing of XML.
 Review further error messages for an indication to the cause of the errors.
RecoverableException  BIP2136E: Source character ''2591'' in field ''003c002f.................................004200750073004'' cannot be converted from Unicode to codepage '819'.
 The source character is an invalid code point within the given codepage.
 Correct the application or message flow that generated the message to ensure that all data within the message can be represented in the target codepage.


Any help on this would be much appreciated
Back to top
View user's profile Send private message
smdavies99
PostPosted: Fri Jan 01, 2010 2:17 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

The error message tells you exactly what is wrong.

I'd like to suggest that you look back at some of the posts on this forum over the past three months which deal with pretty well exactly the same problem you are experiencing.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
rekarm01
PostPosted: Sat Jan 02, 2010 4:07 am    Post subject: Re: Special Character Issue in MB6.1 Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 1415

Senthamizh wrote:
The input message has a special Char "°" (degree symbol) ...
Code:
RecoverableException  BIP2136E: Source character ''2591'' ... cannot be converted from Unicode to codepage '819'.

Source character "2591" is the 'LIGHT SHADE' character (░), not the 'DEGREE SIGN' (°). It does not exist in the ccsid=819 character set.

Senthamizh wrote:
While publishing the output xml, it tries to parse the xml and since it is not able to parse this special character, it throws an error.

More precisely, this is a conversion error, not an XML parsing error.

There are two different ccsids:
  • the source ccsid describes the input message. The message flow sets this in the FileInput node properties; it needs to match the coded character set that the sender used to write the file.
  • the target ccsid describes the output message; the message flow sets this in Root.Properties.CodedCharSetID.
If the source ccsid is wrong, then changing the target ccsid won't help.
Back to top
View user's profile Send private message
Senthamizh
PostPosted: Tue Jan 05, 2010 2:12 am    Post subject: Reply with quote

Apprentice

Joined: 21 Dec 2009
Posts: 47

Thanks rekarm01

I changed the value of "Message Coded Charetcer set ID" in the 'Input Message Parsing' tab of the FileInputNode to 819 and it worked fine.
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 » Special Character Issue in MB6.1
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.