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 » WebSphere Message Broker (ACE) Support » Conversion

Post new topic  Reply to topic
 Conversion « View previous topic :: View next topic » 
Author Message
mattfarney
PostPosted: Tue Nov 22, 2011 1:57 pm    Post subject: Conversion Reply with quote

Disciple

Joined: 17 Jan 2006
Posts: 167
Location: Ohio

When exactly does Message Broker convert the character set of an incoming message to the local QM character set?

My uneducated guess is when a non-BLOB parser is invoked, but that's just a guess.

-mf
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Nov 22, 2011 2:11 pm    Post subject: Re: Conversion Reply with quote

Grand High Poobah

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

mattfarney wrote:
When exactly does Message Broker convert the character set of an incoming message to the local QM character set?

My uneducated guess is when a non-BLOB parser is invoked, but that's just a guess.

-mf

Well your guess is wrong as part of the assertion.
I would say never as the internal representation on the broker is in ccsid 1200 and not in the ccsid of the local QM.

Now if you set convert on the MQInput node this is a different story...

The conversion of the bitstream into the characters will happen at parsing time with a non BLOB parser... (immediate, as needed, etc...)
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
kimbert
PostPosted: Wed Nov 23, 2011 2:01 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Quote:
never as the internal representation on the broker is in ccsid 1200


It's actually UTF-16, which maps to 1204/1205, so the byte order of the two-byte characters will vary with the platform endian-ness. But you don't need to know or care about that when writing message flows.
Back to top
View user's profile Send private message
rekarm01
PostPosted: Thu Nov 24, 2011 6:53 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 1415

kimbert wrote:
Quote:
never as the internal representation on the broker is in ccsid 1200


It's actually UTF-16, ...

or maybe UCS-2?

kimbert wrote:
... which maps to 1204/1205, so the byte order of the two-byte characters will vary with the platform endian-ness.

Strictly speaking, ccsids describe bytes, not characters. The internal representation of characters may be similar to ccsid 1200 (or 1204/1205), but platform-dependent details such as byte order are hidden, and not directly accessible.

kimbert wrote:
But you don't need to know or care about that when writing message flows.
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 » WebSphere Message Broker (ACE) Support » Conversion
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.