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 » VB.Net and CCSID

Post new topic  Reply to topic
 VB.Net and CCSID « View previous topic :: View next topic » 
Author Message
kevinf2349
PostPosted: Wed May 04, 2005 12:09 pm    Post subject: VB.Net and CCSID Reply with quote

Grand Master

Joined: 28 Feb 2003
Posts: 1311
Location: USA

Hi

I have an application that is written in VB.Net.

It correctly puts a message in a queue and when it does it uses CodedCharSetId = MQCCSI_Q_MGR

The windows queue manager has a CCSID of 437

When I look at the message on the queue using MQ Exploder the Data tab on message properties, it says the CCSID is 1200 and shows the hexadecimal as double byte (not surprisingly). The text display shows the correct text of the message.

Is this normal? and why doesn't MQ Explorer show the CCSID as 437?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed May 04, 2005 12:18 pm    Post subject: Reply with quote

Grand High Poobah

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

Are you sure about the CCSID.
Are the client and the server using the same CCSID ? or OS code page ?
I seem to remember that 1200 is used on Windows for some weird stuff like Euro signs etc...

Enjoy
Back to top
View user's profile Send private message Send e-mail
kevinf2349
PostPosted: Wed May 04, 2005 12:26 pm    Post subject: Reply with quote

Grand Master

Joined: 28 Feb 2003
Posts: 1311
Location: USA

fjb_saper,

The message is a simple text string ("the quick brown fox" sentence) and in this case the qmgr and application are on the same box. It is strange.

We suspect it is something to do with the way that VB handles strings. We think it may think they are unicode.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed May 04, 2005 3:09 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Have you considered reading the documentation for VB?

.NET does think everything is Unicode. This includes VB .NET.

There were a bunch of postings here about a year ago about this "problem".
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
kevinf2349
PostPosted: Wed May 04, 2005 5:50 pm    Post subject: Reply with quote

Grand Master

Joined: 28 Feb 2003
Posts: 1311
Location: USA

Jeff

Thanks for all your help.

Got it working......Thanks to a search on this site with better search criteria.

http://www.mqseries.net/phpBB2/viewtopic.php?t=16438&highlight=1200+ccsid
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 » General IBM MQ Support » VB.Net and CCSID
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.