Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 2 Messages : tibemsMsg : tibemsMsg_SetEncoding

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
 
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 function tibemsBytesMsg_ReadUTF is exempt from message encoding settings.
See Also
Strings and Character Encodings
tibemsMsg_GetEncoding on page 43

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved