Skip to content

Commit

Permalink
[e] (0) Add note about why we strip all BOMs.
Browse files Browse the repository at this point in the history
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 f4ecda4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions index
Expand Up @@ -62089,6 +62089,12 @@ interface <dfn id=messageport>MessagePort</dfn> {
<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>
Expand Down
6 changes: 6 additions & 0 deletions source
Expand Up @@ -76644,6 +76644,12 @@ interface <dfn>MessagePort</dfn> {
<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>
Expand Down

0 comments on commit f4ecda4

Please sign in to comment.