Menu

#116 charset=ascii should be charset=us-ascii

v1.0.25
closed
nobody
None
5
2016-07-16
2014-08-18
No

When autogenerating a html file Guiguts selects charset=ascii. The W3C Markup Validator flags this as an error and states that the correct setting should be charset=us-ascii.

Steps:
1. Fixup->HTML Generator & Checks
2. Click Autogenerate HTML

First 5 lines of Default header:

<!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="BOOKLANG" lang="BOOKLANG">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=BOOKCHARSET"/>

First 5 lines of Autogenerated Header:

<!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="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ascii"/>

W3C Validator Notes and Potential Issues

The following notes and warnings highlight missing or conflicting information which caused the validator to perform some guesswork prior to validation, or other things affecting the output below. If the guess or fallback is incorrect, it could make validation results entirely incoherent. It is highly recommended to check these potential issues, and, if necessary, fix them and re-validate the document.

Warning Character Encoding suggestion: use us-ascii instead of ascii

The character encoding declared for this document (ascii) may not be widely supported. This encoding is equivalent to us-ascii which may be better supported across platforms.

1 Attachments

Discussion

  • hannne

    hannne - 2016-07-16

    Duplicate of #91.

     
  • hannne

    hannne - 2016-07-16
    • status: open --> closed
     

Anonymous
Anonymous

Add attachments
Cancel