Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Mail encoding of text

hi

I have a problem with reading some letters using application Mail.

On my iphone the message which I had received has the correct coding, but when I use macbook with Yosemite in application Mail the coding of the letter is incorrect and I can't read it. The text language is russian.

I try to find preferences of encoding in application but didn't find anything about it.

I try to google the information about coding of incoming letters, but It also gave no result.

Did somebody have the same problem?

Thanks a lot in advance.

User uploaded file

MacBook Pro with Retina display, OS X Yosemite (10.10.2), Mail application

Posted on Mar 31, 2015 10:00 AM

Reply
24 replies

Jul 20, 2015 4:51 AM in response to Tom Gewecke

The sequence is the following:


Sender (A) and recipient (B) use same Exchange server but on Outlook Win clients.

I use Mail.app as Exchange client (C).


1. A creates original message in Outlook Windows sends to B, C in copy:

Content-Type: text/plain; charset="koi8-r"

Content-Transfer-Encoding: quoted-printable


2. B replies using "> " symbol, C in copy.


3. C (me) sees unreadable characters and korean encoding in RAW message in OS X Mail.app (fact one).

C (me) sees Readable characters in Mail.app in iOS (fact two), can't get encoding info.

C (me) sees readable characters in Outlook Win running in VM on the same Exchange account with korean encoding (fact three).


You are right, looks like Exchange breaks the encoding.

Jul 22, 2015 12:38 AM in response to krylovdx

Finally


It looks like the bug is not in Mail.app or Exchange Server but in Outlook client of the sender.


Found these articles:

http://btsc.webapps.blackberry.com/btsc/viewdocument.do;jsessionid=354D19BC6CF7D 3AD9B2CF6D4516A26D8?externalId=KB19676&sliceId=1&cmd=displayKC&docType=kc&noCoun t=true&ViewedDocsListHelper=com.kanisa.apps.common.BaseViewedDocsListHelperImpl

and

https://support.tigertech.net/email-charset


Solutions are:

1. Fix Outlook bug (actually two bugs: do not change charset to Korean and do not ignore charset header in messages displaying them). Best way.

2. Try to live with Outlook bug and implement in other clients (like Mail.app) workaround to show message content ignoring charset header (to be like Outlook). Bad way.

3. Workaround is to ask sender to change his or her default Outlook settings to switch default encoding of outgoing messages strictly to UTF-8.

Mar 11, 2016 1:24 AM in response to 91koff

Same problem for me on El Capitan, but user sent mail w/o Exchange. And I received e-mail in Simplified Chinese instead of Russian.

Content-Type: text/plain; charset="GB2312"

Content-Transfer-Encoding: base64


But for me it is much more convenient option to have ability to change encoding to whatever I want on my side (e.g. Message -> Encoding in Mail.app), comparing to the option - ask all buggy Outlook owners to reconfigure their clients. Or even wait for MS to fix Outlook :-)

Mar 11, 2016 1:57 AM in response to Mihail Testov

There is a workaround to read mail content, but it is a bit user unfriendly. Might be useful to create automator action.


1. Copy base64 encoded text blocks from mail source and paste in text file with name mail.b64. The blocks of characters after

Content-Type: text/plain; charset="GB2312"

Content-Transfer-Encoding: base64

Should look like:

SGVsbG8gd29ybGQgSGVsbG8gd29ybGQgSGVsbG8gd29ybGQgSGVsbG8gd29y

bGQgSGVsbG8gd29ybGQgSGVsbG8gd29ybGQgSGVsbG8gd29ybGQKCtCS0YHQ

tdC8INC/0YDQuNCy0LXRgiDQktGB0LXQvCDQv9GA0LjQstC10YIg0JLRgdC1

0Lwg0L/RgNC40LLQtdGCINCS0YHQtdC8INC/0YDQuNCy0LXRgiDQktGB0LXQ

vCDQv9GA0LjQstC10YIg0JLRgdC10Lwg0L/RgNC40LLQtdGCINCS0YHQtdC8

INC/0YDQuNCy0LXRggoKSGVsbG8gd29ybGQgSGVsbG8gd29ybGQgSGVsbG8g

d29ybGQgSGVsbG8gd29ybGQgSGVsbG8gd29ybGQgSGVsbG8gd29ybGQgSGVs

bG8gd29ybGQKCtCS0YHQtdC8INC/0YDQuNCy0LXRgiDQktGB0LXQvCDQv9GA

0LjQstC10YIg0JLRgdC10Lwg0L/RgNC40LLQtdGCINCS0YHQtdC8INC/0YDQ

uNCy0LXRgiDQktGB0LXQvCDQv9GA0LjQstC10YIg0JLRgdC10Lwg0L/RgNC4

0LLQtdGCINCS0YHQtdC8INC/0YDQuNCy0LXRggoKSGVsbG8gd29ybGQgSGVs

bG8gd29ybGQgSGVsbG8gd29ybGQgSGVsbG8gd29ybGQgSGVsbG8gd29ybGQg

SGVsbG8gd29ybGQgSGVsbG8gd29ybGQKCtCS0YHQtdC8INC/0YDQuNCy0LXR

giDQktGB0LXQvCDQv9GA0LjQstC10YIg0JLRgdC10Lwg0L/RgNC40LLQtdGC

INCS0YHQtdC8INC/0YDQuNCy0LXRgiDQktGB0LXQvCDQv9GA0LjQstC10YIg

0JLRgdC10Lwg0L/RgNC40LLQtdGCINCS0YHQtdC8INC/0YDQuNCy0LXRggoK

SGVsbG8gd29ybGQgSGVsbG8gd29ybGQgSGVsbG8gd29ybGQgSGVsbG8gd29y

bGQgSGVsbG8gd29ybGQgSGVsbG8gd29ybGQgSGVsbG8gd29ybGQKCtCS0YHQ

tdC8INC/0YDQuNCy0LXRgiDQktGB0LXQvCDQv9GA0LjQstC10YIg0JLRgdC1

0Lwg0L/RgNC40LLQtdGCINCS0YHQtdC8INC/0YDQuNCy0LXRgiDQktGB0LXQ

vCDQv9GA0LjQstC10YIg0JLRgdC10Lwg0L/RgNC40LLQtdGCINCS0YHQtdC8

INC/0YDQuNCy0LXRggoKSGVsbG8gd29ybGQgSGVsbG8gd29ybGQgSGVsbG8g

d29ybGQgSGVsbG8gd29ybGQgSGVsbG8gd29ybGQgSGVsbG8gd29ybGQgSGVs

bG8gd29ybGQKCtCS0YHQtdC8INC/0YDQuNCy0LXRgiDQktGB0LXQvCDQv9GA

0LjQstC10YIg0JLRgdC10Lwg0L/RgNC40LLQtdGCINCS0YHQtdC8INC/0YDQ

uNCy0LXRgiDQktGB0LXQvCDQv9GA0LjQstC10YIg0JLRgdC10Lwg0L/RgNC4

0LLQtdGCINCS0YHQtdC8INC/0YDQuNCy0LXRggo=


2. Use Terminal.app:

base64 -D -i <path_to>/mail.b64 -o mail.badcoding

3. In the same Terminal window:

iconv -f GB2312 -t utf8 <mail.badcoding


If charset you are having trouble with is ks_c_5601-1987, change last command to

iconv -f KS_C_5601-1987 -t utf8 <mail.badcoding

Mail encoding of text

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