#qa | Logs for 2015-04-17

« return
[17:00:31] <Bytram> https://en.wikipedia.org
[17:00:39] <Bytram> http://www.w3.org
[17:01:17] <Bytram> from wikipedia:
[17:01:21] <Bytram> Illegal characters
[17:01:22] <Bytram> HTML forbids[6] the use of the characters with Universal Character Set/Unicode code points (in decimal form, preceded by x in hexadecimal form)
[17:01:22] <Bytram> 0 to 31, except 9, 10, and 13 (C0 control characters)
[17:01:22] <Bytram> 127 (DEL character)
[17:01:22] <Bytram> 128 to 159 (x80 – x9F, C1 control characters)
[17:01:23] <Bytram> 55296 to 57343 (xD800 – xDFFF, the UTF-16 surrogate halves)
[17:01:25] <Bytram> The Unicode standard also forbids:
[17:01:27] <Bytram> 65534 and 65535 (xFFFE – xFFFF), non-characters, related to xFEFF, the byte order mark.
[17:01:29] <Bytram> These characters are not allowed by numeric character references. However, references to characters 128–159 are commonly interpreted by lenient web browsers as if they were references to the characters assigned to bytes 128–159 (decimal) in the Windows-1252 character encoding. This is in violation of HTML and SGML standards, and the characters are already assigned to higher code points, so HTML documents
[17:01:34] <Bytram> should always use the higher code points. For example the trademark sign (™) should represented with &#8482; and not with &#153;.
[17:01:37] <Bytram> The characters 9 (tab), 10 (linefeed), and 13 (carriage return) are allowed in HTML documents, but, along with 32 (space) are all considered "whitespace".[7] The "form feed" control character, which would be at 12, is not allowed in HTML documents, but is also mentioned as being one of the "white space" characters – perhaps an oversight in the specifications. In HTML, most consecutive occurrences of white s
[17:01:44] <Bytram> pace characters, except in a <pre> block, are interpreted as comprising a single "word separator" for rendering purposes. A word separator is typically rendered a single en-width space in European languages, but not in all the others.