I have a problem with outputting HTML in PHP. I read the values from a MySQL database, wich is utf8_bin encoded. When i have a normal HTML document, it outputs the letters Č, Š and Ž completely normal. But, when i read the values from the database, these characters look like this: �
I used a solution that i found on stack:
header('Content-Type: text/html; charset=ISO-8859-1');
And it worked... But only for the php part, the HTML was now the one that was causing me the problems.
You can check the site if you would like to see the code: http://najdistoritev.si/kategorije.php?kategorija=avtomobilizem-in-prevoznistvo
Currently it is set as it was, before implementing the previous solution.
Any ideas?