DarkElf Posted March 6, 2006 Share Posted March 6, 2006 When I validate my pages using the w3c validator they always pass 'tentatively', and I get the following warning:No Character Encoding Found! Falling back to UTF-8.I was not able to extract a character encoding labeling from any of the valid sources for such information. Without encoding information it is impossible to reliably validate the document. I'm falling back to the "UTF-8" encoding and will attempt to perform the validation, but this is likely to fail for all non-trivial documents. I've searched and searched and can't workout what this is about! I've tried comparing my pages to other pages which validate without this error and can't see what I'm missing! Can anybody enlighten me? Link to comment Share on other sites More sharing options...
Jonas Posted March 6, 2006 Share Posted March 6, 2006 <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />Can you find something like that in your <head> tagset? The charset can vary though. Link to comment Share on other sites More sharing options...
sbrownii Posted March 7, 2006 Share Posted March 7, 2006 Amaya is a good editor to use if you aren't sure some of the standards. It has menu options that let you choose what DTD, charset, etc.. to specify for the document. Can save a lot of time (or a lot of copy/paste) Link to comment Share on other sites More sharing options...
Jonas Posted March 7, 2006 Share Posted March 7, 2006 http://www.w3.org/International/O-charset.html Link to comment Share on other sites More sharing options...
DarkElf Posted March 7, 2006 Author Share Posted March 7, 2006 Nope, I don't have that line, I guess that would be the problem. I'm a bit confused about which charset to use? I notice a lot of pages use that iso one, though the number isn't always the same. Link to comment Share on other sites More sharing options...
sbrownii Posted March 7, 2006 Share Posted March 7, 2006 IMHO...The best is to work with unicode.This works for all languages. I often use utf-8 charset. You just have to be sure to actually save your files as the same encoding. Link to comment Share on other sites More sharing options...
boen_robot Posted March 7, 2006 Share Posted March 7, 2006 It all depends on what characters you need. I personally use UTF-8 for english content and windows-1251 for Cyrilic (Bulgarian) content pages. Each of the ISOs and other encodings specify characters, relevant to the targeted alphabet and/or other specific symbols. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now