No Character Encoding Found! Falling back to UTF-8.
None of the standards sources gave any information on the character encoding labeling for this document. Without encoding information it is impossible to reliably validate the document. As a fallback solution, the "UTF-8" encoding was used to read the content and attempt to perform the validation, but this is likely to fail for all non-trivial documents.
Read the FAQ entry on character encoding for more details and pointers on how to fix this problem with your document.
-------
The validator can process documents either as XML (for document types such as XHTML, SVG, etc.) or SGML (for HTML 4.01 and prior versions). For this document, the information available was not sufficient to determine the parsing mode unambiguously, because:
the MIME Media Type (text/html) can be used for XML or SGML document types
No known Document Type could be detected
No XML declaration (e.g <?xml version="1.0"?>) could be found at the beginning of the document.
No XML namespace (e.g <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">) could be found at the root of the document.
As a default, the validator is falling back to SGML mode.
------
No DOCTYPE Declaration could be found or recognized in this document. This generally means that the document is not declaring its Document Type at the top. It can also mean that the DOCTYPE declaration contains a spelling error, or that it is not using the correct syntax.
The document was checked using a default "fallback" Document Type Definition that closely resembles “HTML 4.01 Transitional”.
-----
No Character encoding declared at document level
No character encoding information was found within the document, either in an HTML meta element or an XML declaration. It is often recommended to declare the character encoding in the document itself, especially if there is a chance that the document will be read from or saved to disk, CD, etc.
See this tutorial on character encoding for techniques and explanations.
------
вот такие ошибки, но на сайте вроде бы все норм
код:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ru-ru" lang="ru-ru" dir="ltr">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
Что не так?
- 25.06.2015 13:39
- Регистрация: 16.01.2014
- Сообщений: 19
- Репутация: 6
- 25.06.2015 15:22
Доктайп в первой строке документа стоит? И кодировка самого документа какая? Должна быть utf-8 без BOM.
- 25.06.2015 16:32
- Регистрация: 16.01.2014
- Сообщений: 19
- Репутация: 6
Vlad03,
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ru-ru" lang="ru-ru" dir="ltr">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<script src="/templates/jt002_j16/fancybox/jquery-1.8.3.js" type="text/javascript"></script>
<base href="http://сайт.ru/" />
<meta name="keywords" content="" />
<meta name="robots" content="index, follow" />
<meta name="author" content="Super User" />
<meta name="description" content="" />
<title></title>
<link href="/templates/jt002_j16/favicon.ico" rel="shortcut icon" type="image/vnd.microsoft.icon" />
<link rel="stylesheet" href="/components/com_virtuemart/assets//css/vmsite-ltr.css" type="text/css" />
<link rel="stylesheet" href="/components/com_virtuemart/assets//css/facebox.css" type="text/css" />
<style type="text/css">
#VMmenu139 li.vmOpen>ul.menu{display: block;} #VMmenu139 li.VmClose>ul.menu{display: none;}
</style>
<script src="/media/system/js/mootools-core.js" type="text/javascript"></script>
<script src="/media/system/js/core.js" type="text/javascript"></script>
<script src="/media/system/js/caption.js" type="text/javascript"></script>
<script src="http://сайт.ru/plugins/content/LVSpoiler/LVSpoiler/jquery/ddaccordion.js" type="text/javascript"></script>
<script src="http://сайт.ru/templates/jt002_j16/scripts/product_module.js" type="text/javascript"></script>
<script src="/components/com_virtuemart/assets//js/vmsite.js" type="text/javascript"></script>
<script src="/components/com_virtuemart/assets//js/facebox.js" type="text/javascript"></script>
<script src="/components/com_virtuemart/assets//js/vmprices.js" type="text/javascript"></script>
<script src="/media/system/js/mootools-more.js" type="text/javascript"></script>
<script src="/modules/mod_rokajaxsearch/js/rokajaxsearch.js" type="text/javascript"></script>
<script type="text/javascript">
можете посмотреть что не так? - 25.06.2015 16:37
Exdramo, В таком варианте нет, нужен сам файл html или что там у вас.
Тэги топика:
Похожие темы
Темы | Раздел | Ответов | Последний пост |
---|---|---|---|
Нужна помощь с magento валидацией | Web программирование | 3 | 24.08.2014 09:21 |
Проблема с Dle | DLE | 7 | 24.11.2012 12:25 |
Проблема в ipb 3.2.3 | CMS | 0 | 12.10.2012 17:08 |
проблема в ИЕ | Web программирование | 5 | 02.10.2011 13:38 |