Copyright © TIBCO Software Inc. All Rights Reserved

> tibemsMsg_SetEncoding
> Function
> Purpose
> Set the character encoding header of a message.
> C Declaration
> tibems_status tibemsMsg_SetEncoding(
> tibemsMsg message,
> const char* value );
> COBOL Call
> CALL "tibemsMsg_SetEncoding"
> USING BY VALUE message,
> BY REFERENCE value,
> RETURNING tibems-status
> END-CALL.

> | message has usage pointer.

> Parameters

> Parameter | Description
> message | Set the character encoding of this message.
> value | Set the character encoding to this value. For a list of standard encoding names, see www.iana.org.

> Remarks
> This call extends the JMS specification.
> Programs can set the encoding for individual messages.
> This encoding applies to all strings in message bodies (names and values), and properties (names and values). It does not apply to header names nor values. The functions tibemsBytesMsg_ReadUTF and tibemsBytesMsg_WriteUTF are exempt from message encoding settings.
> See Also
> Strings and Character Encodings
> tibemsMsg_GetEncoding on page 41

Copyright © TIBCO Software Inc. All Rights Reserved