SMAT message encoding options

SMAT records the message encoding as the default encoding in the ecd file.

The default message encoding is recorded into the SMAT file so that the SMAT tool can default to it when the SMAT file is opened.

  • For inbound messages, the default message encoding is the thread encoding.
  • For outbound messages, the default message encoding is UTF-8.

The SMAT tool shows the default encoding when the SMAT files are opened for the first time.

The Encoding list is used to specify the encoding for resent messages. The user-selected encodings are passed from the list to the resend command line.

The default value of the list in the SMAT Resend Message dialog box is derived from these steps:

  • The default encoding is used, if there is one; if not, then . . .
  • The NetConfig thread encoding is used, if there is one; if not, then . . .
  • The user-selected encoding from the menu is used.

When a SMAT file is opened, it checks if an ecd file exists.

  • If an ecd file does exist and the default encoding is found but user encoding is not found, then SMAT uses the engine default encoding. The encoding is saved as user encoding in the ecd file.
  • If both engine default encoding and user encoding are found in the ecd file, then the user encoding is used.

See SMAT encoding and temporary files.