Mail.app: utf-8 messages are not displayed properly

Hi,


I have an issue, and I hope someone can help me for where to look for further information.


From emails, which are received over an mailinglist, several characters (for example German Umlauts) are not displayed properly in mail.app. My first idea was that it could be based on the senders. However, I looked into this and the strange thing is, that I can not identify any pattern:


X-Mailer: Microsoft Windows Mail 6.0.6002.18197 - Content-Type: text/plain; charset="UTF-8": ok

X-Mailer: Microsoft Windows Live Mail 15.4.3538.513 - Content-Type: text/plain; charset="UTF-8": ok

X-Mailer: iPad Mail (9B176) - Content-Type: text/plain; charset=utf-8: ok

X-Mailer: iPhone Mail (9B176) - Content-Type: text/plain; charset=utf-8: ok


Content-Type: text/plain; charset=utf-8 - X-Mailer: iPhone Mail (9B179): garbled umlauts

Content-Type: text/plain; charset="utf-8" - X-Mailer: WWW-Mail 6100 (Global Message Exchange): garbled umlauts

Content-Type: text/plain; charset=utf-8 - X-Mailer: iPad Mail (9B176): garbled umlauts

Content-Type: text/plain; charset="UTF-8" - X-Mailer: Microsoft Office Outlook 12.0: garbled umlauts


Interestingly enough, in looking up the above information I made out the pattern that the garbled messages' headers list Content-Type before X-Mailer, but I guess that can not be the reason?


Am I looking in the wrong place?


Any hints/help would be appreciated.


Best Regards

Tom

MacBook Pro, Mac OS X (10.7.3)

Posted on Apr 23, 2012 1:41 AM

Reply
11 replies

Apr 23, 2012 6:13 AM in response to Tom Gewecke

Sure, I'll try:


User uploaded file


To the left ist the rendering in the mail.app. To the right is the corresponding part in the mail's source.


It _should_ read: "Mit freundlichen Grüßen"


This particular message had been sent by an iPad, and the very same message renders fine on the iPhone and Gmail-Webinterface.


I should note that the iPhone does IMAP on gmail, while mail.app POPs the mails (for local archiving and offline research).

May 2, 2012 6:10 AM in response to Tom, DE

Tom, DE wrote:


isn't this related to the dingbat-trick (https://discussions.apple.com/thread/718405?answerId=3480845022#3480845022) ?


As far as I can see, a special char in signature enforces utf-8. Isn't this the same thing happening here, somehow?


In that case adding a special char forces Mail to create the proper charset=utf-8 header so the encoding used to send the message includes the char. This case is rather different, because some added char seems to be causing Mail to ignore the proper charset=utf-8 header when reading the email. Maybe etresoft could figure it out...

Apr 23, 2012 7:48 AM in response to Tom, DE

Tom, DE wrote:


Interestingly enough, in looking up the above information I made out the pattern that the garbled messages' headers list Content-Type before X-Mailer, but I guess that can not be the reason?

Is what you printed really the output from Mail > Save As > Raw Message Source? Because all of them are wrong.


The x-mailer line is a no-op. It is for information only.

The content-type line should be completely on its own line. It could be split into two lines but only if the second line starts with some whitespace.

Apr 23, 2012 11:56 PM in response to etresoft

Thanks for trying to help me both of you.


@Tom Gewecke: I was not able to find any multipart messages that are rendered false. Therefore I presume that this issue applies only to plain messages.


@etresoft: *blush* No, that was me, trying to avoid copying of sensitive information and to enhance readability by putting them on one line (which I failed because I was not aware of the text width here).


The content types are on two lines mostly. Are there any other operative headers which I could look into?

Apr 30, 2012 4:37 AM in response to etresoft

Thanks again for your effort. However, I was reluctant to forward the full source (possibly including sensitive information) since the mailing-list is member only, and there are terms and conditions, etc...


I was also aware that web forum debugging is kind of difficult, but I was hoping for hints of where to look at.


Anyway, it turns out that I was able to spot the problem in very unimpressive typographical quotation marks, which are used as part of the footer, which is attached to each plain text message (but for some reason not to multipart-messages).


The provider now replaces the culprits with "normal" quotation marks.


Best Regards,

Tom

Apr 30, 2012 10:08 AM in response to Tom, DE

Tom, DE wrote:


Anyway, it turns out that I was able to spot the problem in very unimpressive typographical quotation marks, which are used as part of the footer, which is attached to each plain text message (but for some reason not to multipart-messages).



Thanks much for that info! Very odd, however, I am baffled what mechanism would cause such a footer to override the charset= header in Mail.

Sep 22, 2012 10:40 AM in response to Tom, DE

I have the same problem with encoding after i upgrade to 10.8.2 (mail.app 6.1). I notice that both my MBP and iMac have the same problem. And i check the mail.app (6.0) out before upgradering and it was just fine.


So something happend between 6.0 and 6.1 thats make the encoding stop working in the automatic setting.

I hope some one find out, or apple them self solve this problem what have hapend.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Mail.app: utf-8 messages are not displayed properly

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.