search cancel

Message Audit Logs show incorrect characters at the end of Russian email subject lines

book

Article ID: 162416

calendar_today

Updated On:

Products

Messaging Gateway

Issue/Introduction

When viewing a Russian language message in the Messaging Gateway (SMG) Message Audit Logs (MAL) the message subject line may be truncated and display an incorrect letter at the end of the line. Hovering the mouse cursor over the message, however, displays the correct subject line.

Cause

Email message Subject lines that do not use the ASCII character set are encoded as a UTF-8 string similar to the following.

Subject: =?UTF-8?B?0Y3RgtC+INGC0LXQv9C70L4g0YHQtdCz0L7QtNC90Y8h?=

When converting this UTF-8 string to an HTML equivalent, the trailing HTML entity can be cut off in the wrong place resulting in the displayed subject line being abbreviated and the final characters presented incorrectly.

Resolution

Attachments