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 handling Chinese characters in MRM

Post new topic  Reply to topic
 Issue in handling Chinese characters in MRM « View previous topic :: View next topic » 
Author Message
phoebs
PostPosted: Thu Sep 15, 2011 8:00 pm    Post subject: Issue in handling Chinese characters in MRM Reply with quote

Newbie

Joined: 18 Aug 2011
Posts: 5

Hi,

We are doing XMLNSC to FLM (MRM) coversion in broker flow using esql. Flow input is XMLNSC with CCSID = 1208 and it contains few fields in chinese characters. Output is created as FLM message which will have both english and chinese characters; and this FLM output is sent to another UNIX based system. But other application is not getting the chinese characters properly. We have tried with utf-16 conversion, with CCSID as 1200, 1201, 1202 and Encoding = 273; but still facing the same issue.

Please suggest what CCSID and Encoding to be used for handling chinese characters.
Back to top
View user's profile Send private message
saurabh867
PostPosted: Fri Sep 16, 2011 12:34 am    Post subject: Reply with quote

Voyager

Joined: 13 Jun 2010
Posts: 78

Hi,
First you need to check the code page (CCSID) of the sending application.

If the sending application is using UTF-8 and you have set 1208 for your OutputRoot, you should see the characters properly.

Also for all these characters, check the HEX value before they enter into the

message flow and after they leave the message flow. If HEX value is same

then you done nothing wrong. The problem could be at the tool or application reading the message.

Regards,
Saurabh
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Sep 16, 2011 2:37 am    Post subject: Reply with quote

Grand High Poobah

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

Remember that the target field must be large enough to hold the Chinese character that can be represented by up to 4 bytes.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
kimbert
PostPosted: Fri Sep 16, 2011 3:29 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

This question crops up a lot. You can be fairly sure that this is not a defect in the MRM parser, or in the XMLNSC parser. Not impossible, but not likely either.
Make sure that you understand exactly what is going on in the sending application, in the message flow(s) and in the receiving application. Check that the correct CCSID / encoding is being used in each place.

And to save yourself a *lot* of time, do not trust whatever program you are using to display the chinese characters. Many people have spent hours or days trying to diagnose a character encoding problem - and then they discover that everything is working OK, and it's the display program that is at fault.
Back to top
View user's profile Send private message
phoebs
PostPosted: Sat Sep 17, 2011 6:49 pm    Post subject: Reply with quote

Newbie

Joined: 18 Aug 2011
Posts: 5

Thanks everyone for the reply...

This issue is resolved by using Convert option at MQInput node. And GBK Charset is being used in convert option.

Yes, the tools we use to display the chinese characters was not displaying it properly. But, receiving application is able to view it now.
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 handling Chinese characters in MRM
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.