6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
11/30/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#14362] ActiveSync: Problem with the encoding of email subjects
*
Your Email Address
*
Spam protection
Enter the letters below:
.__ .___.__ .__ . . [__)[__ [__)[__)|\/| | | | | \| |
Comment
>>>> Very strange, as the subject is not related to any specific mime >>>> 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? >>> >>> Yes, it does. >> >> I have no idea what is causing this, and I can't reproduce it. As >> 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(). > > It seems that Iconv is broken in my case. I commented out the > 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.
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers