Ver Mensaje Individual
  #3 (permalink)  
Antiguo 08/04/2015, 10:17
mariovi40
 
Fecha de Ingreso: marzo-2008
Mensajes: 75
Antigüedad: 16 años, 11 meses
Puntos: 1
SOLUCIONADO...Respuesta: no pone acentos con EyeDataGrid

Encontre esta funcion que resuelve el problema, donde se imprima la variable, por
ejemplo, $value, se transforma llamando la funcion con _convert($value)
Código PHP:
Ver original
  1. <?php function _convert($content) {
  2.     if(!mb_check_encoding($content, 'UTF-8')
  3.         OR !($content === mb_convert_encoding(mb_convert_encoding($content, 'UTF-32', 'UTF-8' ), 'UTF-8', 'UTF-32'))) {
  4.  
  5.         $content = mb_convert_encoding($content, 'UTF-8');
  6.  
  7.         if (mb_check_encoding($content, 'UTF-8')) {
  8.             // log('Converted to UTF-8');
  9.         } else {
  10.             // log('Could not converted to UTF-8');
  11.         }
  12.     }
  13.     return $content;
  14. } ?>

Espero les sirva esta sol encontrada
saludos