Author |
Message
|
kevinf2349 |
Posted: Wed May 04, 2005 12:09 pm Post subject: VB.Net and CCSID |
|
|
 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 |
|
 |
fjb_saper |
Posted: Wed May 04, 2005 12:18 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20763 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 |
|
 |
kevinf2349 |
Posted: Wed May 04, 2005 12:26 pm Post subject: |
|
|
 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 |
|
 |
jefflowrey |
Posted: Wed May 04, 2005 3:09 pm Post subject: |
|
|
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 |
|
 |
kevinf2349 |
Posted: Wed May 04, 2005 5:50 pm Post subject: |
|
|
 Grand Master
Joined: 28 Feb 2003 Posts: 1311 Location: USA
|
|
Back to top |
|
 |
|