On 6/8/10 8:50 AM, r...@catjuggling.com wrote: > I apologize if this is considered off-topic, but it's here that I > find people talking most about validating pages. I am trying to find > out why my documents are validated as "Tentatively checked as HTML > 4.01 Strict" with warnings about "No Character Encoding Found! > Falling back to windows-1252". I have tried reading information about > character encoding, but anything I add causes the page not to > validate at all. I'm not sure what to add to make the page validate > completely. Any help would be greatly appreciated. > > Here is the page I am testing: http://www.mcmullincreative.com/ > Hi Russ,
Today I, too, have been having similar problems with the W3C validator. Just as in your case, the validator seems to ignore the <meta content-type> declaration. Dunno what's going on. You may like to install the HTML validator Firefox extension (but you need FF 3.5 if you are on Mac--it does not work in FF 3.6 Mac). That validator contains an off-line version of the W3C validator, as well as Tidy to clean up your source code (and give less geeky messages...). <https://addons.mozilla.org/en-US/firefox/addon/249/> Cordially, David -- Remember that (most) browsers (and the W3C validator) don't check the meta tag for rendering (since the correct rendering engine is selected BEFORE the page is read) -- if you want them knocked into a true X-HTML rendering engine, you need to make sure your server is sending the correct content-type header. By default, PHP files are sent as "text/html" which is NOT right if you're using an X-HTML DocType. These days, most stuff I do is X-HTML 1.1 done in PHP, so I just do a: header('content-type: application/xhtml+xml') before I send any of the page and it knocks Firefox into XHTML rendering mode. Of course, if you want "text/html" as your content-type, then you shouldn't have to change anything. -Jay ______________________________________________________________________ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/