Ignore:
Timestamp:
02/04/13 16:48:20 (11 years ago)
Author:
alexandrecorreia
Message:

Ticket #2507 - Correção da codificação para os clientes que utilizam o REST

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sandbox/webservice/api/adapters/MailAdapter.php

    r6666 r7846  
    156156                $msg['msgSubject']  = ($info_msg['subject'] ? mb_convert_encoding($info_msg['subject'],"UTF8", "ISO_8859-1") : "");              
    157157                $msg['msgHasAttachments'] = "0"; 
     158 
    158159                if(count($info_msg['attachments']) > 0) { 
    159160                        $msg['msgAttachments'] = array(); 
     
    162163                                        'attachmentID'                  => "".$attachment['pid'], 
    163164                                        'attachmentIndex'               => "".$i, 
    164                                         'attachmentName'                => $attachment['name'], 
     165                                        'attachmentName'                => "".mb_convert_encoding($attachment['name'],"UTF8", "ISO_8859-1"), 
    165166                                        'attachmentSize'                => "".$attachment['fsize'], 
    166167                                        'attachmentEncoding'    => $attachment['encoding'] 
Note: See TracChangeset for help on using the changeset viewer.