diff --git a/mailnews/base/resources/content/mailWidgets.xml b/mailnews/base/resources/content/mailWidgets.xml index 6d2dc00edfd1..6cdf2362045c 100644 --- a/mailnews/base/resources/content/mailWidgets.xml +++ b/mailnews/base/resources/content/mailWidgets.xml @@ -2114,9 +2114,17 @@ msgPopup.setAttribute('subject', msgSubject); var previewText = msgHdr.getStringProperty('preview'); - // convert the preview text from utf-8 to unicode - if (previewText) - msgPopup.setAttribute('previewText', unicodeConverter.ConvertToUnicode(previewText)); + // convert the preview text from utf-8 to unicode + if (previewText) + { + try + { + var text = unicodeConverter.ConvertToUnicode(previewText); + if (text) + msgPopup.setAttribute('previewText', text); + } + catch (ex) { } + } var names = {}; var emails = {};