Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 03-16-2017 20:01:12

larry
Member
Registered: 07-21-2003
Posts: 437

DocType character encoding not declared

We cloned the FLEX skin,  and just changed the contents of the body.

In firebug console and at validator.w3.org it throws an error

"The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transfer protocol."


The skin just has <!DOCTYPE html>   

Should it not specify more information?


Laurie Stephens




Offline

 

#2 03-17-2017 06:54:54

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19798
Website

Re: DocType character encoding not declared

This is an erroneous error in FireFox.  K9 displays content as HTML5, which specifically requires the DOCTYPE used (as opposed to the old longer doctypes using in V6-V8 which used XHTML 1.0 Strict as their doctype).  W3C will report validation errors on HTML5 documents with any other doctype.


Nick Hendler

Offline

 

#3 03-17-2017 12:10:26

larry
Member
Registered: 07-21-2003
Posts: 437

Re: DocType character encoding not declared

ok, so left DocType as is, but validator.w3.org throws this error:

"Error: The character encoding was not declared. Proceeding using windows-1252."


is that ok?


Laurie Stephens




Offline

 

#4 03-20-2017 07:56:45

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19798
Website

Re: DocType character encoding not declared

Are you having a problem with encoding?  As I said, HTML5 should not have encoding declared, so what you're seeing in the validator, etc. is expected.


Nick Hendler

Offline

 

#5 03-20-2017 08:14:18

larry
Member
Registered: 07-21-2003
Posts: 437

Re: DocType character encoding not declared

No problem that I can see.  I have just "trained" my partner to always use the validator when creating new pages.  When there is an error, I have to dig deeper.


Laurie Stephens




Offline

 

Board footer