I am using PHP to display some foreign languages text.
echo '<li> NO ENGLISH </li>';
to display a non English language that written in PHP I use:
header('Content-Type: text/html; charset=windows-1255');
But when I getting an posted variables from a form and try to echo them, it display trash. I noticed that setting the next header, fix it :
header('Content-Type: text/html; charset=UTF-8');
This header display it correctly, but fails display it for the first example.
How can I combine those different header settings in the same file.?