i try to take data from an array but it doesn't recognize the acents.
public function model(array $row)
{
return new Dato([
'name' => $row['nombre_completo'],
'pedido' => $row['curso_de_interes'],
'hora_contacto' => $row['horario_de_contacto'],
'email' => $row['correo_electrónico'],
'telefono' => $row['número_de_teléfono'],
]);
}
the data came from a csv archive, the problem is in $row['correo_electrónico'] and $row['número_de_teléfono']. It doesn recognize de acents.
I try to use "correo_electr\u00f3nico" instead of "correo_electrónico" but still failing
UPDATE
i just ignore de acents, and it work fine
i use "correo_electronico" instead of "correo_electrónico"
thanks alot