Author Topic: Delivery status notification & charset="koi8-r"  (Read 2804 times)

Offline Makc666

  • Jr. Member
  • **
  • Posts: 23
    • http://makc666.com
Delivery status notification & charset="koi8-r"
« on: January 12, 2012, 08:01:25 AM »
Version 0.7.1 stable (no prefix in forums still).

  • Compose a new message in Roundcube from one email to another email.
  • In "Message options..." check "Return receipt:".
  • Press "Send".
  • Receive that email in Microsoft Outlook 12.
  • Microsoft Outlook 12 asks me to send a receipt back to first email.
  • I allow it to send receipt back to first email.
  • I receive that receipt in Roundcube.
  • But I can't read the text in the body of receipt as there is a mess with charset.


The screenshot and source of receipt are included in attachments.
« Last Edit: January 12, 2012, 09:22:30 AM by Makc666 »
...... ...... "А стукачков мы не любим!"

Offline Makc666

  • Jr. Member
  • **
  • Posts: 23
    • http://makc666.com
Delivery status notification & charset="koi8-r"
« Reply #1 on: January 12, 2012, 08:17:31 AM »
Forgot to add that in Microsoft Outlook 12 itself that receipt is displayed correctly!
You can see the screenshot.
« Last Edit: January 12, 2012, 09:22:35 AM by Makc666 »
...... ...... "А стукачков мы не любим!"

Offline alec

  • Hero Member
  • *****
  • Posts: 1,363
Delivery status notification & charset="koi8-r"
« Reply #2 on: January 12, 2012, 09:07:27 AM »
HTML part of the message is malformed by Outlook. It contains two different charset definitions.

Offline Makc666

  • Jr. Member
  • **
  • Posts: 23
    • http://makc666.com
Delivery status notification & charset="koi8-r"
« Reply #3 on: January 12, 2012, 09:52:30 AM »
Quote from: alec;37948
HTML part of the message is malformed by Outlook. It contains two different charset definitions.


I don't see those two different charset definitions.

I see:
Code: [Select]
------=_NextPart_001_004E_01CCD14A.5CD99450
Content-Type: text/plain;
charset="koi8-r"
Content-Transfer-Encoding: base64


This is ok!

I see:
Code: [Select]
------=_NextPart_001_004E_01CCD14A.5CD99450
Content-Type: text/html;
charset="koi8-r"
Content-Transfer-Encoding: quoted-printable


This one is also ok.

Then I see that there is HTML part which one has:



charset=3Dwindows-1251">

And looks like here can be the problem as that part above is really in Windows-1251 format.

Where interesting problem.
Will try to look into it.
...... ...... "А стукачков мы не любим!"