When I save a PHP file or any file for that matter, my IDE saves it with UTF-8 encoding. At the top of every page I also have a Content-Type tag that sets the character set to UTF-8.
Since I have that UTF-8 character set declared at the top of each page, does the PHP file need to be UTF-8 encoded? Is ANSI OK?
File ecoding vs. character encoding
Moderator: General Moderators