Changeset 5204 for trunk/prototype


Ignore:
Timestamp:
11/24/11 13:27:14 (12 years ago)
Author:
clairson
Message:

Ticket #2342 - Tela de anexar mensagens nao lista pastas com acentos e ou cedilha

File:
1 edited

Legend:

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

    r5188 r5204  
    3232            case 'folder': 
    3333            { 
    34                 $result = $this->get_folders_list(); 
     34                $result = $this->to_utf8($this->get_folders_list()); 
    3535 
    3636                foreach ($result as $res) { 
     
    161161        } elseif(is_string($in)) {  
    162162                //if(mb_detect_encoding($in) != "UTF-8")  
    163                         return utf8_encode($in);  
     163                        return mb_convert_encoding( $in , 'UTF-8' , 'UTF-8 , ISO-8859-1' );  
    164164                //else  
    165165                //      return $in;  
     
    168168        }  
    169169        return $out;  
    170     }  
     170    } 
     171 
    171172} 
Note: See TracChangeset for help on using the changeset viewer.