I have a PHP page that contains some HTML with UTF-8 chars (ex. “ș ț Ș Ț Ă Î Â”).
- It works well on an online server.
- It works well in an exe build with ExeOutput 2018.1
problem: If I use the ExeOutput 2018.1 option: “Encode php file with internal protection” on this file, then the UTF-8 chars are busted! (they turn to ANSI encoding - ex. Č› Čš)
Is this a known issue? Is there a solution to this? I would like to use the internal protection for this file.
I have already used in the file:
header(‘Content-Type: text/html; charset=utf-8’);
meta http-equiv=‘Content-Type’ content='text/html; charset=utf-8’
and in php.ini
default_charset = “UTF-8”
All the best,