Skip to content
Permalink
Browse files

[e] (0) Add note about why we strip all BOMs.

git-svn-id: http://svn.whatwg.org/webapps@3853 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information...
Hixie committed Sep 15, 2009
1 parent 6866f81 commit f4ecda498f345012c0792fdd2dc2a4d6a63866d5
Showing with 12 additions and 0 deletions.
  1. +6 −0 index
  2. +6 −0 source
6 index
<p>One leading U+FEFF BYTE ORDER MARK character must be ignored if
any are present.</p>

<p class=note>The requirement to strip a U+FEFF BYTE ORDER MARK
character regardless of whether that character was used to determine
the byte order is a <a href=#willful-violation>willful violation</a> of Unicode,
motivated by a desire to increase the resilience of user agents in
the face of na&iuml;ve transcoders.</p>

<p>All U+0000 NULL characters in the input must be replaced by
U+FFFD REPLACEMENT CHARACTERs. Any occurrences of such characters is
a <a href=#parse-error>parse error</a>.</p>
6 source
<p>One leading U+FEFF BYTE ORDER MARK character must be ignored if
any are present.</p>

<p class="note">The requirement to strip a U+FEFF BYTE ORDER MARK
character regardless of whether that character was used to determine
the byte order is a <span>willful violation</span> of Unicode,
motivated by a desire to increase the resilience of user agents in
the face of na&iuml;ve transcoders.</p>

<p>All U+0000 NULL characters in the input must be replaced by
U+FFFD REPLACEMENT CHARACTERs. Any occurrences of such characters is
a <span>parse error</span>.</p>

0 comments on commit f4ecda4

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