PHP website shows question marks insted of utf-8 characters although in Netbeans it's saved in utf-8 -
i have php website written in netbeans. contains meta:
<meta charset="utf-8" />
and header:
<?php header('content-type: text/html; charset=utf-8'); ?>
also 3 other php files responsible changing language of site contains header. i've found here information due netbeans not saving files in utf-8. added
-j-dfile.encoding=utf-8
in netbeans_default_options in netbeans.conf file. problem still exists. can problem now? website looked ok, when html. after adding posibility of changing language question marks started show.
Comments
Post a Comment