Configure message encoding for an Email Send Agent in SAS® Customer Intelligence 360


When you configure an Email Send Agent in SAS Customer Intelligence 360, you might need to determine the appropriate character encoding to use for email processing. Incorrect character encoding can cause problems when data contains non-ASCII characters.

Cause

Character encoding determines how characters are represented in the data. For on-premises email tasks, data that is not encoded in UTF-8 can fail to upload to Data Hub when the data contains non-ASCII characters. As a result, SAS recommends UTF-8 for this scenario.

Resolution

Use UTF-8 encoding for data that the Email Send Agent processes.

In addition, when you specify the Message Encoding value explicitly, use UTF-8.

Alternatively, leave the Message Encoding field blank to use the default UTF-8 encoding.

Troubleshooting

To troubleshoot this issue, complete the following steps:

1. Check the source-data encoding.

Determine the character encoding of the source data that is processed by the email task.

If the data contains non-ASCII characters and is not encoded in UTF-8, convert the source data to UTF-8 before processing it.

2. Check the Message Encoding setting.

Review the Message Encoding setting for the Email Send Agent.

Use UTF-8 or leave the field blank to use the default UTF-8 encoding.

3. Check for non-ASCII characters.

If the email process fails when processing character data, check whether the source data contains non-ASCII characters. Non-ASCII characters in data that is not UTF-8 encoded can result in an upload failure for on-premises email tasks.

4. Retry with UTF-8 encoded data.

After correcting the source encoding or Message Encoding configuration, retry the affected email process.

Additional Information

An encoding maps characters to numeric representations. The same character can have different numeric representations when different encodings are used.

Using UTF-8 consistently helps avoid character-encoding problems when email data contains characters outside the ASCII character set.