Changeset 6515


Ignore:
Timestamp:
06/15/12 10:06:08 (9 years ago)
Author:
asaikawa
Message:

Ticket #2570 - Correcao do retorno de strings acentuadas no Resource Events

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sandbox/webservice/api/rest/calendar/EventsResource.php

    r6423 r6515  
    8181                                if(date('d/m/Y', $sdate) == date('d/m/Y', $edate) || !$split_event){ 
    8282                                        foreach($association_arr AS $k => $v) 
    83                                                 $events[$id][$k] = $row[$v]; 
     83                                                $events[$id][$k] = mb_convert_encoding($row[$v],"UTF8", "ISO_8859-1"); 
    8484 
    8585                                        $events[$id]['eventStartDate'] = date('d/m/Y H:i', $sdate); 
Note: See TracChangeset for help on using the changeset viewer.