Character encodings in HTML: Difference between revisions

Content deleted Content added
Line 33:
# Explicit user instruction
# An explicit meta tag within the first 1024 bytes of the document
# A [[Bytebyte order mark]] within the first three bytes of the document
# The HTTP Content-Type or other transport layer information
# Analysis of the document bytes looking for specific sequences or ranges of byte values,<ref>[http://www.w3.org/TR/html5/syntax.html#prescan-a-byte-stream-to-determine-its-encoding HTML5 prescan a byte stream to determine its encoding]</ref> and other tentative detection mechanisms.