September 1, 2008
Don't save your PHP files as UTF-16. Browsers can figure them out, but the PHP engine can't because the people who make PHP haven't figured out the rest of the world exists. If you do you'll see your PHP commands as plain text. And if you started with UTF-16 and switch to UTF-8, delete the byte-order marker (0xFFFE) -- for some reason that makes Firefox think that the output of phpinfo() is really a wad of Japanese text.