Prerequisites: Ensure that the default encoding for the browser you are testing is not set to UTF-16.

UTF-16LE BOM

Click on the link. Test passes if you see a green square.

Click here

Assertion: A page with no encoding declarations, but with a UTF-16 little-endian BOM will be recognized as UTF-16.

Notes:

No encoding information is declared in the HTTP header or inside the document. The text contains the following sequence of bytes: 0xC3 0xc0 0x53 0xc1 0xC3 0xc0 0xAC 0xc20 0xC3 0xc0 0x61 0xc1. The stylesheet contains the same characters but in a UTF-8 encoding.

Next test
HTML5

character-encoding-003
Result summary & related tests
Detailed results for this test