hixie: Make sure not to autodetect an unsupported encoding... (whatwg r6865)

hixie: Make sure not to autodetect an unsupported encoding... (whatwg
r6865)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.5464&r2=1.5465&f=h
http://html5.org/tools/web-apps-tracker?from=6864&to=6865

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.5464
retrieving revision 1.5465
diff -u -d -r1.5464 -r1.5465
--- Overview.html 9 Dec 2011 22:47:05 -0000 1.5464
+++ Overview.html 9 Dec 2011 22:53:02 -0000 1.5465
@@ -57640,7 +57640,8 @@
     stream. Such algorithms may use information about the resource
     other than the resource's contents, including the address of the
     resource. If autodetection succeeds in determining a character
-    encoding, then return that encoding, with the <a href="#concept-encoding-confidence" title="concept-encoding-confidence">confidence</a>
+    encoding, and that encoding is a supported encoding, then return
+    that encoding, with the <a href="#concept-encoding-confidence" title="concept-encoding-confidence">confidence</a>
     <i>tentative</i>, and abort these steps. <a href="#refsUNIVCHARDET">[UNIVCHARDET]</a></p>
 
     <p class="note">The UTF-8 encoding has a highly detectable bit

Received on Wednesday, 14 December 2011 02:00:46 UTC