Ver Mensaje Individual
  #7 (permalink)  
Antiguo 02/08/2011, 17:34
GreenArrow
 
Fecha de Ingreso: agosto-2009
Mensajes: 3
Antigüedad: 14 años, 9 meses
Puntos: 0
Respuesta: Problema con acentos y Ñ en Cutenews [Solucion]

mmm yo probe lo del primer post pero no me sirvio =(

Pero encontre una buena y simple solucion =)!!!

abren ese archivo
cutenews/inc/addnews.mdu

y buscan

$full_story = replace_news("add", $full_story, $n_to_br, $use_html);
$short_story = replace_news("add", $short_story, $n_to_br, $use_html);
// $title = replace_news("add", $title, TRUE, $use_html);
$title = replace_news("add", $title, TRUE, FALSE); // HTML in title is not allowed


y lo reemplazan por:


$full_story = replace_news("add", utf8_encode($full_story), $n_to_br, $use_html);
$short_story = replace_news("add", utf8_encode($short_story), $n_to_br, $use_html);
// $title = replace_news("add", utf8_encode($title), TRUE, $use_html);
$title = replace_news("add", utf8_encode($title), TRUE, FALSE); // HTML in title is not allowed

y listo! agregué
utf8_encode
antes de cada variable y funciona perfectamente ^^


pd. para los comentarios abrias de buscar algun archivo de comentarios y buscar $comments o algo asi