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 indicate the encoding for individual messages.
tibemsMsg_SetEncoding does not actually do any encoding of message strings. An application uses this function to indicate the actual encoding of strings in the message.
When receiving a message in an EMS C client application, the encoding can be retrieved using tibemsMsg_GetEncoding and then use a third party library to do the actual decoding.
See Also
Strings and Character Encodings
tibemsMsg_GetEncoding on page 42

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