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 » IBM MQ API Support » How to processing international characters properly?

Post new topic  Reply to topic
 How to processing international characters properly? « View previous topic :: View next topic » 
Author Message
mikeHT
PostPosted: Tue Nov 15, 2005 8:31 am    Post subject: How to processing international characters properly? Reply with quote

Voyager

Joined: 01 Jul 2005
Posts: 82

We are finding reasons to upgrade to CSD11 and one of them is APAR below (from CSD10):
http://www-1.ibm.com/support/docview.wss?&apar=only&uid=swg1IC43915

But a Developer in my department tested IBM's MQ .NET class and is saying the following:
"But it appears the MQ Readstring() function is still returning a string that has a different asc value for the special characters that were sent in.

When I pass in a message into MQ and read it out using the MQ .NET class's, I do not get the same character that was passed into MQ. Below is an example of the hex values sent in and returned.
NOTE, this does not happen when reading the data from the API Exerciser. Just when accessing it from the MQ .NET class's.

Input: E2
ReadString() returns 47
"
One example which we hope that the APAR will resolve is:
Input to MP Queue:
<Address city="Mi‘ami" country="USA" postalCode="91100" state="CA" street1="211 Ma“in Street"/>

But Output to webpage after msg has been processed using application using MQ .NET:
<Address city="Mi?ami" country="USA" postalCode="91100" state="CA" street1="211 Ma?in Street"/>
We want the output to remain as original message.

Is there code or program to use the MQ .NET class to confirm what the developer is saying? Thanks.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Nov 15, 2005 4:49 pm    Post subject: Reply with quote

Grand High Poobah

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

Is your message format MQSTR ?
Do you use the convert option on your GET ?
Are you using the same code page CCSID on the machine doing the Get as on the machine doing the PUT ?

Have you tried using UTF-8 instead of String ??

Enjoy
Back to top
View user's profile Send private message Send e-mail
mikeHT
PostPosted: Wed Nov 16, 2005 7:10 am    Post subject: Reply with quote

Voyager

Joined: 01 Jul 2005
Posts: 82

fjb_saper wrote:
Is your message format MQSTR ?
Yes
Do you use the convert option on your GET ? No
Are you using the same code page CCSID on the machine doing the Get as on the machine doing the PUT ? In actual environment it is from CCSID819 to CCSID437. For the testing of CSD11's .NET class, it's on a
machine with CCSID437

Have you tried using UTF-8 instead of String ?? How would I do this? Do you have an example? Thank you


Enjoy
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 » IBM MQ API Support » How to processing international characters properly?
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.