|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
ResetContentDescriptor node error parsing CCSID 1200 |
« View previous topic :: View next topic » |
Author |
Message
|
angka |
Posted: Mon Apr 06, 2009 1:48 am Post subject: |
|
|
Chevalier
Joined: 20 Sep 2005 Posts: 406
|
Hi,
Quote: |
For UTF-16, endian refers to the byte order that results from a character->byte encoding scheme. .NET strings consist of characters, not bytes; they don't use a character->byte encoding scheme. Other methods do, when they convert strings to a sequence of bytes.
|
Sorry I don't really get it. thought each Char is also a form of bytes representation?
Quote: |
.NET MQMessage read/write methods do not support conversion to/from every ccsid. Don't use MQMessage convert-on-read/convert-on-write methods in those cases. |
Is there a option not to convert-on-write? for get we can set MQGMO_CONVERT.
Thanks |
|
Back to top |
|
 |
rekarm01 |
Posted: Tue Apr 14, 2009 3:17 am Post subject: Re: ResetContentDescriptor node error parsing CCSID 1200 |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 1415
|
angka wrote: |
Sorry I don't really get it. thought each Char is also a form of bytes representation? |
The physical representation of a .NET string is supposed to be hidden, or encapsulated. The smallest addressable unit of a string is a character; if the underlying bytes of a character are not addressable, then they have no visible byte order.
angka wrote: |
Is there a option not to convert-on-write? for get we can set MQGMO_CONVERT. |
Only the MQMessage ReadString, ReadLine, and WriteString methods use the CharacterSet property to convert on read/write. Other MQMessage methods don't. Consult the documentation for more details. |
|
Back to top |
|
 |
|
|
|
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
|
|
|
|