In one array there's a variable that has an é in it. I tried to replace it with a normal e using
echo strtr($var, "é", "e"); but even that doesn't work. It's weird. At the top of my page there's
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> then when I load the page the é character gets converted to [[#233]] and a plugin to convert things to pdf is saying to me that the document contains invalid UTF-8 character(s). Anyone got a clue? The variable between comes from a latin1_swedish_ci database field.
SET NAMES utf8;before all other queries.