At 7:42 PM -0500 8/14/06, Richard Lynch wrote:
What a mess MS makes of things!
Except sales.
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Sun, August 13, 2006 1:43 pm, Rasmus Lerdorf wrote:
> tedd wrote:
>> At 6:48 PM -0700 8/12/06, Rasmus Lerdorf wrote:
>>> By the way, everyone should be setting a charset. If you don't set
>>> it, IE will look at the first 4k of the body of the page and take a
>>> wild guess.
>>>
>>> -Rasmus
>>
My current theory is that IE needs BOTH header() and META charset to
agree before it will believe you. :-)
On Sat, August 12, 2006 8:05 pm, Jonny Bergström wrote:
> It's me again. I might have solved it... in a way. Still quite puzzled
> about
> why IE don't give a dime about the meta encoding
tedd wrote:
At 6:48 PM -0700 8/12/06, Rasmus Lerdorf wrote:
By the way, everyone should be setting a charset. If you don't set
it, IE will look at the first 4k of the body of the page and take a
wild guess.
-Rasmus
-Rasmus:
Ok, but why doesn't w3c use it?
http://validator.w3.org (check
At 6:48 PM -0700 8/12/06, Rasmus Lerdorf wrote:
By the way, everyone should be setting a charset. If you don't set
it, IE will look at the first 4k of the body of the page and take a
wild guess.
-Rasmus
-Rasmus:
Ok, but why doesn't w3c use it?
http://validator.w3.org/ (check source)
I'
IE doesn't actually support XHTML, so if your primary target for
something is IE, you really shouldn't be using XHTML. Even IE7 doesn't
fully support it.
Setting the charset in the response header like you did is the best
approach. You can do it for all your pages in your php.ini file with:
It's me again. I might have solved it... in a way. Still quite puzzled about
why IE don't give a dime about the meta encoding line in the html head tag.
Here's what I did. The aforementioned header file now adds a header()
statement sending a content-type that also tells the charset, utf-8. :
--
...btw, I have been thinking, does IE only display UTF8 pages if the source
file is saved using UTF8 *including* the BOM? I save all pages without the
BOM because using BOM is impossible when you need to set cookies on client.
8 matches
Mail list logo