Summary | ActiveSync: Problem with the encoding of email subjects |
Queue | Horde Framework Packages |
Type | Bug |
State | Not A Bug |
Priority | 1. Low |
Owners | mrubinsk (at) horde (dot) org |
Requester | alexander (at) areim (dot) de |
Created | 05/12/2016 (3347 days ago) |
Due | |
Updated | 05/23/2016 (3336 days ago) |
Assigned | 05/20/2016 (3339 days ago) |
Resolved | 05/23/2016 (3336 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
following code and my problems are solved:
File: Horde/String.php
Line: 147
->
/* Try iconv with transliteration. */
if (Horde_Util::extensionExists('iconv')) {
unset($php_errormsg);
ini_set('track_errors', 1);
$out = @iconv($from, $to . '//TRANSLIT', $input);
$errmsg = isset($php_errormsg);
ini_restore('track_errors');
if (!$errmsg && $out !== false) {
echo "2";
return $out;
}
}
<-
I already tried to remove "//TRANSLIT" and tried to use "//IGNORE" but
anythings fails.
State ⇒ Feedback
part, and it doesn't differ depending on text/plain vs text/html.
Does the Subject: header in the raw email text look the same for both
emails?
mentioned, the subject text is handled outside of any code dealing
with the content-type of the body part. If the subject header and
charset are *exactly* the same in both emails, you are going to have
to figure out where this is failing for you, as I cannot reproduce.
This is likely happening in Horde_ActiveSync_Utils::ensureUtf8(),
being called from
Horde_ActiveSync_Imap_MessageBodyData::_validateBodyData().
State ⇒ Assigned
Assigned to Michael Rubinsky
part, and it doesn't differ depending on text/plain vs text/html.
Does the Subject: header in the raw email text look the same for
both emails?
and it doesn't differ depending on text/plain vs text/html. Does the
Subject: header in the raw email text look the same for both emails?
New Attachment: AMDVE9TO891S5A64SU9UIUSUH8.txt
I attached a detailed activesync debug log. There are 2 E-Mails.
ServerEntryId:1 is a html-mail and ServerEntryId: 2 is a
plaintext-mail. The first is broken but the second show correct chars
at my Iphone. It seems that only html-mails don't work correctly.
haven't had any other reports of issues with this so...
for hints.
I attached my phpinfo to this comment. Could you take a look at this please?
fully tested in a while - I don't see anything obvious.
New Attachment: phpinfo.htm
Or has something important changed between the release and git-version?
I attached my phpinfo to this comment. Could you take a look at this please?
New Attachment: IMG_0010.jpg
New Attachment: Email.eml
Priority ⇒ 1. Low
State ⇒ Feedback
Priority ⇒ 2. Medium
State ⇒ Unconfirmed
New Attachment: beispiel.jpg
Patch ⇒ No
Milestone ⇒
Queue ⇒ Horde Framework Packages
Summary ⇒ ActiveSync: Problem with the encoding of email subjects
Type ⇒ Bug
are wrong. The body and anything else is shown correctly. There are no
problems with notes, calendar, tasks, ...
Iphone: IOS 9.3.1
Horde Framework and applications: latest stable release (pear)