Skip to content
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...
1 parent 6866f81 commit f4ecda498f345012c0792fdd2dc2a4d6a63866d5 @Hixie Hixie committed
Showing with 12 additions and 0 deletions.
  1. +6 −0 index
  2. +6 −0 source
View
6 index
@@ -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>
View
6 source
@@ -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>

0 comments on commit f4ecda4

Please sign in to comment.
Something went wrong with that request. Please try again.