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.
That é being 00E9 sounds like Windows-1252 (CP1252). Not in the control range but I’ve had similar issues. Could use
iconvto convert it and ensure valid UTF-8.