Font nightmare!
I'm aware of PHP's limitations in supporting Unicode, but I'm getting some inconsistent results that are baffling me...
All my web pages are .php files, though the majority are saved as type ANSI. A few are saved as type UTF-8 (as my site requires several world alphabets on certain pages). So far, so good: everything displays like a charm in IE6. (Though not in Mozilla!)
I'm confused, however, that the php files I call upon with the include command don't behave consistently... I have some instances of UTF-8-type php files with inserts to other UTF-8-type php files that work perfectly, and others that don't.
On the ones that DON'T display correctly, all the text in the file is printed on the screen - even the commands. For example, at the top of the webpage is written:
<img class="logo" src="images/logo.jpg">
rather than the command being executed.
Any ideas what's going on?
Thanks.
Oh, by the way - should I be saving the files as UTF-8 or Unicode? I'm not clear on the difference. I've experimented with both, but my problem remains.