Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Encodings deal in scalar values. https://www.w3.org/Bugs/Public/show_…

  • Loading branch information...
commit 4abe74d1400c5ab8913c5f229b59b237ae5aac51 1 parent 322a1dc
@annevk annevk authored
Showing with 10 additions and 16 deletions.
  1. +5 −8 Overview.html
  2. +5 −8 Overview.src.html
View
13 Overview.html
@@ -202,6 +202,9 @@ <h2 id="terminology"><span class="secno">3 </span>Terminology</h2>
In equations and <a href="#index" title="index">indexes</a> code points are prefixed
with "0x". <a href="#refsUNICODE">[UNICODE]</a>
+<p>A <dfn id="scalar-value">scalar value</dfn> is a <a href="#code-point">code point</a> that is not in the range U+D800
+to U+DFFF.
+
<p>The <dfn id="ascii-whitespace">ASCII whitespace</dfn> are code points U+0009, U+000A, U+000C,
U+000D, and U+0020.
@@ -252,8 +255,8 @@ <h2 id="terminology"><span class="secno">3 </span>Terminology</h2>
<h2 id="encodings"><span class="secno">4 </span>Encodings</h2>
-<p>An <dfn id="encoding">encoding</dfn> defines a mapping from a code point sequence to a
-byte sequence (and vice versa). Each <a href="#encoding">encoding</a> has a
+<p>An <dfn id="encoding">encoding</dfn> defines a mapping from a <a href="#scalar-value">scalar value</a> sequence to a
+<a href="#byte">byte</a> sequence (and vice versa). Each <a href="#encoding">encoding</a> has a
<dfn id="name">name</dfn>, and one or more <dfn id="label" title="label">labels</dfn>.
@@ -1413,9 +1416,6 @@ <h4 id="utf-8-encoder"><span class="secno">8.1.2 </span><dfn>utf-8 encoder</dfn>
<var>stream</var> and <var title="">code point</var>, runs these steps:
<ol>
- <li><p>If <var title="">code point</var> is in the range 0xD800 to 0xDFFF, return
- <a href="#error">error</a> with <var title="">code point</var>.
-
<li><p>If <var title="">code point</var> is <a href="#end-of-stream">end-of-stream</a>, return
<a href="#finished">finished</a>.
@@ -2664,9 +2664,6 @@ <h4 id="shared-utf-16-encoder"><span class="secno">14.2.2 </span><dfn>shared utf
and <var title="">code point</var>, runs these steps:
<ol>
- <li><p>If <var title="">code point</var> is in the range 0xD800 to 0xDFFF, return
- <a href="#error">error</a> with <var title="">code point</var>.
-
<li><p>If <var title="">code point</var> is <a href="#end-of-stream">end-of-stream</a>, return
<a href="#finished">finished</a>.
View
13 Overview.src.html
@@ -119,6 +119,9 @@ <h2 class="no-num no-toc">Table of Contents</h2>
In equations and <span title=index>indexes</span> code points are prefixed
with "0x". <span data-anolis-ref>UNICODE</span>
+<p>A <dfn>scalar value</dfn> is a <span>code point</span> that is not in the range U+D800
+to U+DFFF.
+
<p>The <dfn>ASCII whitespace</dfn> are code points U+0009, U+000A, U+000C,
U+000D, and U+0020.
@@ -169,8 +172,8 @@ <h2 class="no-num no-toc">Table of Contents</h2>
<h2>Encodings</h2>
-<p>An <dfn>encoding</dfn> defines a mapping from a code point sequence to a
-byte sequence (and vice versa). Each <span>encoding</span> has a
+<p>An <dfn>encoding</dfn> defines a mapping from a <span>scalar value</span> sequence to a
+<span>byte</span> sequence (and vice versa). Each <span>encoding</span> has a
<dfn>name</dfn>, and one or more <dfn title=label>labels</dfn>.
@@ -1330,9 +1333,6 @@ <h2 class="no-num no-toc">Table of Contents</h2>
<var>stream</var> and <var title>code point</var>, runs these steps:
<ol>
- <li><p>If <var title>code point</var> is in the range 0xD800 to 0xDFFF, return
- <span>error</span> with <var title>code point</var>.
-
<li><p>If <var title>code point</var> is <span>end-of-stream</span>, return
<span>finished</span>.
@@ -2581,9 +2581,6 @@ <h2 class="no-num no-toc">Table of Contents</h2>
and <var title>code point</var>, runs these steps:
<ol>
- <li><p>If <var title>code point</var> is in the range 0xD800 to 0xDFFF, return
- <span>error</span> with <var title>code point</var>.
-
<li><p>If <var title>code point</var> is <span>end-of-stream</span>, return
<span>finished</span>.
Please sign in to comment.
Something went wrong with that request. Please try again.