NOTE: The current preferred location for bug reports is the GitHub issue tracker.
Bug 929 - character encoding declaration is now required
character encoding declaration is now required
Status: RESOLVED FIXED
Product: Validator.nu
Classification: Unclassified
Component: HTML parser
HEAD
All All
: P2 normal
Assigned To: Henri Sivonen
http://html5.org/r/7160
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-06-30 10:36 CEST by Michael[tm] Smith
Modified: 2013-03-26 15:16 CET (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael[tm] Smith 2012-06-30 10:36:48 CEST
http://html5.org/r/7160

+  <p class="note">A character encoding declaration is required (either
+  in the <span title="Content-Type">Content-Type metadata</span> or
+  explicitly in the file) even if the encoding is US-ASCII, because an
+  encoding is needed to process non-ASCII characters entered by the
+  user in forms, in URLs generated by scripts, and so forth.</p>

So I think the warning-level message that the parser code currently emits needs to be an error-level message instead.