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 » General IBM MQ Support » C# Charater Encoding Issue

Post new topic  Reply to topic
 C# Charater Encoding Issue « View previous topic :: View next topic » 
Author Message
matt_newnham
PostPosted: Mon May 16, 2005 12:54 am    Post subject: C# Charater Encoding Issue Reply with quote

Newbie

Joined: 19 Oct 2004
Posts: 9

I am having problems with certain characters (£$€) appearing in my messages as different characters (¢$%).

My application is C# Windows XP and i have CSD08.

I am recieving messages from an iSeries machine.

The data in the messages on the iSeries is displaying currency characters correctlty as $ £ €.

However when i open the channel and allow the messages to pass onto my machine they appear as ¢ $ % in my Websphere MQ message browser.

I have been experimenting with the CharacterSet property of the .net class MQMessage but i have so far not had any success in converting to the correct characters.

Am i on the right track? Can anyone offer any advice?

Cheers,

Matt
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon May 16, 2005 11:10 am    Post subject: Reply with quote

Grand High Poobah

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

Do you realize that c# does not serialize strings the same way as say c or java. Strings in c# are unicode!! Hence maybe the error.

Make sure you do a get with convert.

Enjoy
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » C# Charater Encoding 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.