Ignore:
Timestamp:
06/22/12 12:35:23 (12 years ago)
Author:
cristiano
Message:

Ticket #2893 - Problemas ao encaminhar mensagem - codificação do nome

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/prototype/services/ImapServiceAdapter.php

    r6566 r6576  
    629629                                                if($att['disposition'] == 'embedded') 
    630630                                                { 
    631                                                         $body = str_replace('"../prototype/getArchive.php?mailAttachment='.$att['id'].'"', $att['name'], $body); 
     631                                                        $body = str_replace('"../prototype/getArchive.php?mailAttachment='.$att['id'].'"', '"'.mb_convert_encoding($att['name'], 'ISO-8859-1' , 'UTF-8,ISO-8859-1').'"', $body); 
    632632                                                        $mailService->addStringImage(base64_decode($att['source']), $att['type'], mb_convert_encoding($att['name'], 'ISO-8859-1' , 'UTF-8,ISO-8859-1')); 
    633633                                                } 
Note: See TracChangeset for help on using the changeset viewer.