[Tickets #11745] Activesync charset converting error

bugs at horde.org bugs at horde.org
Thu Nov 22 15:20:19 UTC 2012


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/11745
------------------------------------------------------------------------------
  Ticket             | 11745
  Created By         | horde at albasoft.com
  Summary            | Activesync charset converting error
  Queue              | Synchronization
  Version            | Git master
  Type               | Bug
  State              | Unconfirmed
  Priority           | 2. Medium
  Milestone          |
  Patch              | 1
  Owners             |
------------------------------------------------------------------------------


horde at albasoft.com (2012-11-22 15:20) wrote:

Activesync was not delivering iso-8859-1 emails correctly to devices.

Looking into the code, I've found a line which undoes the previous conversion.
Deleting that line solves the problem.

  --- ActiveSync/Imap/Adapter.php.ori	2012-11-22 16:13:10.306357672 +0100
+++ ActiveSync/Imap/Adapter.php	2012-11-22 16:12:50.978606153 +0100
@@ -917,7 +917,6 @@
                          'body' =>  
Horde_String::convertCharset($message_body_data['plain']['body'],  
$message_body_data['plain']['charset'], 'UTF-8'),
                          'estimated_size' =>  
$message_body_data['plain']['size'],
                          'truncated' =>  
$message_body_data['plain']['truncated'],
-                        'body' => $message_body_data['plain']['body']
                      );
                  } else {
                      $airsync_body->type =  
Horde_ActiveSync::BODYPREF_TYPE_HTML;






More information about the bugs mailing list