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

UTF-16BE 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 big-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: 0xc0 0xC3 0xc1 0x53 0xc0 0xC3 0xc20 0xAC 0xc0 0xC3 0xc1 0x61. The stylesheet contains the same characters but in a UTF-8 encoding.

Next test
HTML5

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