I'm getting a quite curious error when displaying text on a webpage. I'm working on converting a set of pages from ISO-8859-15 to UTF-8. As I'm getting texts from various sources on that page, I'm using iconv to convert from ISO-8859-15 to UTF-8.
$arbeitstext=iconv("ISO-8859-15", "UTF-8", $arbeitstext);
I'm also setting the page header of the page with header('Content-Type: text/html; charset=utf-8');
and the page in question is saved (and converted) as UTF-8 via notepad++.
So far so good - the output of, for instance, ä, ö, ü alone works fine. In combination with `
however, (`ü
) it results in lots of à characters.
I'm depending on combinations such as
`ü, `Ü, `$,`&,´§,
etc. for another function, (replacing them with different strings), so this is quite an issue for me.
My firebug log suggests that the page-header is correctly set as utf8. The SQL Database from where I'm getting my texts is also set as UTF-8. What am I missing?