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 IndexIBM MQ API SupportSwedish characters issue

Post new topicReply to topic
Swedish characters issue View previous topic :: View next topic
Author Message
kals
PostPosted: Tue Jan 22, 2008 9:50 pm Post subject: Swedish characters issue Reply with quote

Newbie

Joined: 22 Jan 2008
Posts: 4

Hi,

I am retrieving the message from MQ Series 5.3 using S_MQGET method (C# application). When i am reading the message through C# appln, Swedish characters are converted to some symbols. Eg: shakiÅÖ is getting converted to shaki™

I have set the message options to MQGMO_CONVERT.

can anyone help me to how to display the swedish characters properly?

Regards,
Kals
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Jan 23, 2008 4:22 am Post subject: Reply with quote

Grand High Poobah

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

Try setting the CCSID on the MQMD to 1208 or 1200 BEFORE getting the message.

If this fails set the CCSID on the MQManager object....

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
kals
PostPosted: Wed Jan 23, 2008 6:13 am Post subject: Byte array to string Reply with quote

Newbie

Joined: 22 Jan 2008
Posts: 4

Hi,

Thanks a lot, it works.

But when I am trying to convert Byte array to String, the swedish characters are getting converted to some symbols. Any idea?

piece of code: System.Text.Encoding.ASCII.GetString(

Kals
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Jan 23, 2008 1:40 pm Post subject: Reply with quote

Grand High Poobah

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

Possibly because they do not map to ASCII 437 cp only to ASCII 850 cp ??
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
kals
PostPosted: Wed Jan 23, 2008 9:52 pm Post subject: Binary array to String Reply with quote

Newbie

Joined: 22 Jan 2008
Posts: 4

Hi saper,

How to solve this?

Kals
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Jan 25, 2008 1:28 pm Post subject: Reply with quote

Grand High Poobah

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

Don't use ASCII use UTF-8 ! or unicode !
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexIBM MQ API SupportSwedish characters issue
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.