krylovdx

Q: 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.

123.png

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

Posted on Mar 31, 2015 10:00 AM

Close

Q: Mail encoding of text

  • All replies
  • Helpful answers

Previous Page 2
  • by 91koff,

    91koff 91koff Jul 20, 2015 4:51 AM in response to Tom Gewecke
    Level 1 (0 points)
    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.

  • by Tom Gewecke,

    Tom Gewecke Tom Gewecke Jul 20, 2015 5:03 AM in response to 91koff
    Level 9 (79,075 points)
    Jul 20, 2015 5:03 AM in response to 91koff

    91koff wrote:

     

     

    You are right, looks like Exchange breaks the encoding.

     

    Mail probably still has a bug.  I think it should be able to display the russian even though the encoding is a pretty obsolete one intended primarily for Korean.

  • by cdhw,

    cdhw cdhw Jul 20, 2015 6:25 AM in response to 91koff
    Level 4 (2,628 points)
    Servers Enterprise
    Jul 20, 2015 6:25 AM in response to 91koff

    This is a long shot, but does the 'Reply using the same format' Mail.app preference make any difference?

     

    C.

  • by sukfromny,

    sukfromny sukfromny Jul 20, 2015 6:32 AM in response to cdhw
    Level 1 (0 points)
    Jul 20, 2015 6:32 AM in response to cdhw

    I posted this a while ago, but has anyone tried this?

    I am curious this works for others too:

    I have same issues with text encoding after I upgraded to Yosemite. Then I solved it by pure chance :-)

    Forward the e-mails that you cannot read to yourself and see what happens.

    It worked for me with Korean and Chinese.

  • by 91koff,

    91koff 91koff Jul 20, 2015 7:15 AM in response to sukfromny
    Level 1 (0 points)
    Jul 20, 2015 7:15 AM in response to sukfromny

    No, it's not working unless you forward the email using iOS mail.app that shows text correctly.

  • by 91koff,

    91koff 91koff Jul 20, 2015 7:17 AM in response to cdhw
    Level 1 (0 points)
    Jul 20, 2015 7:17 AM in response to cdhw

    cdhw,

     

    I do not reply, I'm in copy.

  • by 91koff,

    91koff 91koff Jul 22, 2015 12:38 AM in response to krylovdx
    Level 1 (0 points)
    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.

  • by Mihail Testov,

    Mihail Testov Mihail Testov Mar 11, 2016 1:24 AM in response to 91koff
    Level 1 (0 points)
    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 :-)

  • by Mihail Testov,

    Mihail Testov Mihail Testov Mar 11, 2016 1:57 AM in response to Mihail Testov
    Level 1 (0 points)
    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

Previous Page 2