Changeset 7622


Ignore:
Timestamp:
12/07/12 11:06:20 (11 years ago)
Author:
eduardow
Message:

Ticket #3222 - Problema de encoding utilizando texot simples.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoMail1_2/inc/class.imap_functions.inc.php

    r7603 r7622  
    31693169            }     
    31703170            else 
    3171                 $mailService->setBodyText($body); 
     3171                $mailService->setBodyText(mb_convert_encoding($body, 'ISO-8859-1' , 'UTF-8,ISO-8859-1' )); 
    31723172 
    31733173            if ($is_important) 
  • trunk/prototype/services/ImapServiceAdapter.php

    r7414 r7622  
    685685                                } 
    686686 
    687                                 if($isHTML) $mailService->setBodyHtml($body); else $mailService->setBodyText($body); 
     687                                if($isHTML) $mailService->setBodyHtml($body); else $mailService->setBodyText(mb_convert_encoding($body, 'ISO-8859-1' , 'UTF-8,ISO-8859-1' )); 
    688688 
    689689                                if(imap_append($mbox_stream, "{".$this->imap_server.":".$this->imap_port."}".$folder, $mailService->getMessage(), "\\Seen \\Draft")) 
Note: See TracChangeset for help on using the changeset viewer.