Character encoding

An application that sends a request can use the CodedCharSetId and Format fields of the MQRFH2 to specify which coded character set (CCSID) was used to encode its body. It can also specify whether the body of the corresponding response is to be encoded using:
  • The same CCSID as was used for the request body
  • CCSID IBM-1208

If a request specifies that the body of the corresponding response is to be encoded using the same CCSID as was used for the request body, and if the MSIF transfer service is unable to do this, it uses CCSID IBM-1208 and sets the value of the Format field in the MQRFH2 of the response to MQFMT_NONE.

For more information about how to specify which CCSIDs are to be used to encode the bodies of requests and responses, see:

The copy of the body of a message that the MSIF transfer service stores in the message warehouse is always encoded using CCSID IBM-1208, regardless of the CCSID that is or was used to encode the body of the message that is to be sent to or was received from a counterpart.