Ignore:
Timestamp:
05/21/12 16:02:11 (12 years ago)
Author:
natan
Message:

Ticket #2777 - Problemas ao mover/abrir pastas acentuadas no expressoMail

File:
1 edited

Legend:

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

    r6243 r6254  
    162162        } 
    163163 
     164        function get_range_msgs3($params){ 
     165 
     166                $return = $this->get_range_msgs2($params); 
     167 
     168                $return['folder'] = mb_convert_encoding( $return['folder'], 'ISO_8859-1', 'UTF-8' ); 
     169 
     170                return $return; 
     171        } 
     172 
    164173        function get_range_msgs2($params) 
    165174        {        
     
    183192 
    184193            if(!$search_box_type || $search_box_type == 'UNSEEN' || $search_box_type == 'SEEN') { 
    185                     $msgs_info = imap_status($this->mbox,"{".$this->imap_server.":".$this->imap_port.$this->imap_options."}".mb_convert_encoding( $folder, 'UTF7-IMAP', 'ISO_8859-1' ) ,SA_ALL); 
     194                    $msgs_info = imap_status($this->mbox,"{".$this->imap_server.":".$this->imap_port.$this->imap_options."}".mb_convert_encoding( $folder, 'UTF7-IMAP', 'UTF-8, ISO_8859-1' ) ,SA_ALL); 
    186195 
    187196                    $return['tot_unseen'] = ($search_box_type == 'SEEN') ? 0 : $msgs_info->unseen; 
Note: See TracChangeset for help on using the changeset viewer.