I have a PHP website written in Netbeans. It contains meta:
<meta charset="utf-8" />
and header:
<?php
header('Content-Type: text/html; charset=utf-8');
?>
also all 3 other PHP files responsible for changing a language of the site contains this header. I've found here information that it could be due to Netbeans not saving files in UTF-8. So I added
-J-Dfile.encoding=UTF-8
in netbeans_default_options in netbeans.conf file. But problem still exists. What can be the problem now? Website looked ok, when it was html. After adding posibility of changing language question marks started to show.