Skip to content
Permalink
Browse files

[giow] (3) Revert part of r5545 because bz changed his mind and this …

…matches reality better. :-)

Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=19623
Affected topics: HTML

git-svn-id: http://svn.whatwg.org/webapps@7701 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information...
Hixie committed Feb 6, 2013
1 parent f9f8a8b commit 1c30229e6dcc5c35ef4eb27cff71d0b1e9d24def
Showing with 27 additions and 27 deletions.
  1. +9 −9 complete.html
  2. +9 −9 index
  3. +9 −9 source

<p>To obtain the Unicode string, the user agent run the following steps:</p>

<ol><li><p>If the resource's <a href=#content-type title=Content-Type>Content Type metadata</a>, if any,
specifies a character encoding, and the user agent supports that encoding, then let <var title="">character encoding</var> be that encoding, and jump to the bottom step in this
series of steps.</li>

<li><p>If the algorithm above set <var><a href="#the-script-block's-character-encoding">the script block's character encoding</a></var>, then
let <var title="">character encoding</var> be that encoding, and jump to the bottom step
in this series of steps.</li>

<li><p>For each of the rows in the following table, starting with the first one and going
<ol><li><p>For each of the rows in the following table, starting with the first one and going
down, if the file has as many or more bytes available than the number of bytes in the
first column, and the first bytes of the file match the bytes given in the first column,
then set <var title="">character encoding</var> to the encoding given in the cell in the

</li>

<li><p>If the resource's <a href=#content-type title=Content-Type>Content Type metadata</a>, if any,
specifies a character encoding, and the user agent supports that encoding, then let <var title="">character encoding</var> be that encoding, and jump to the bottom step in this
series of steps.</li>

<li><p>If the algorithm above set <var><a href="#the-script-block's-character-encoding">the script block's character encoding</a></var>, then
let <var title="">character encoding</var> be that encoding, and jump to the bottom step
in this series of steps.</li>

<li><p>Let <var title="">character encoding</var> be <var><a href="#the-script-block's-fallback-character-encoding">the script block's fallback
character encoding</a></var>.</li>

18 index

<p>To obtain the Unicode string, the user agent run the following steps:</p>

<ol><li><p>If the resource's <a href=#content-type title=Content-Type>Content Type metadata</a>, if any,
specifies a character encoding, and the user agent supports that encoding, then let <var title="">character encoding</var> be that encoding, and jump to the bottom step in this
series of steps.</li>

<li><p>If the algorithm above set <var><a href="#the-script-block's-character-encoding">the script block's character encoding</a></var>, then
let <var title="">character encoding</var> be that encoding, and jump to the bottom step
in this series of steps.</li>

<li><p>For each of the rows in the following table, starting with the first one and going
<ol><li><p>For each of the rows in the following table, starting with the first one and going
down, if the file has as many or more bytes available than the number of bytes in the
first column, and the first bytes of the file match the bytes given in the first column,
then set <var title="">character encoding</var> to the encoding given in the cell in the

</li>

<li><p>If the resource's <a href=#content-type title=Content-Type>Content Type metadata</a>, if any,
specifies a character encoding, and the user agent supports that encoding, then let <var title="">character encoding</var> be that encoding, and jump to the bottom step in this
series of steps.</li>

<li><p>If the algorithm above set <var><a href="#the-script-block's-character-encoding">the script block's character encoding</a></var>, then
let <var title="">character encoding</var> be that encoding, and jump to the bottom step
in this series of steps.</li>

<li><p>Let <var title="">character encoding</var> be <var><a href="#the-script-block's-fallback-character-encoding">the script block's fallback
character encoding</a></var>.</li>

18 source

<ol>

<li><p>If the resource's <span title="Content-Type">Content Type metadata</span>, if any,
specifies a character encoding, and the user agent supports that encoding, then let <var
title="">character encoding</var> be that encoding, and jump to the bottom step in this
series of steps.</p></li>

<li><p>If the algorithm above set <var>the script block's character encoding</var>, then
let <var title="">character encoding</var> be that encoding, and jump to the bottom step
in this series of steps.</p></li>

<li><p>For each of the rows in the following table, starting with the first one and going
down, if the file has as many or more bytes available than the number of bytes in the
first column, and the first bytes of the file match the bytes given in the first column,

</li>

<li><p>If the resource's <span title="Content-Type">Content Type metadata</span>, if any,
specifies a character encoding, and the user agent supports that encoding, then let <var
title="">character encoding</var> be that encoding, and jump to the bottom step in this
series of steps.</p></li>

<li><p>If the algorithm above set <var>the script block's character encoding</var>, then
let <var title="">character encoding</var> be that encoding, and jump to the bottom step
in this series of steps.</p></li>

<li><p>Let <var title="">character encoding</var> be <var>the script block's fallback
character encoding</var>.</p></li>

0 comments on commit 1c30229

Please sign in to comment.
You can’t perform that action at this time.