Intended audience: users, XHTML/HTML coders (using editors or scripting), script developers (PHP, JSP, etc.), CSS coders, Web project managers, and anyone who wants to know how HTML escapes work in current browsers.
These tests check whether user agents handle character escapes as expected for HTML5 documents.
Note that the snapshot summaries of these test results are for released versions of the browsers tested. Versions that are still in development may provide better support for these features. The tests themselves do not test any vendor prefixes.
The tables show results for tests run on the date shown. Above the tables are summaries of the results at that date. The table data may be more up-to-date than the summary. If the tables contain some incorrectly scored tests, or tests that relate to non-released versions of browsers, these are not included in the summary.
To see the test, click on the link in the left-most column. To see detailed results for a single test, click on the link in the right-most column. All user agents produced characters as expected in the basic tests. Links: Section 8.1.4 • Related tests All user agents correctly displayed characters that were not in the encoding of the page. Links: Section 8.1.4 • Related tests All user agents displayed the euro sign in HTML if the escape used the Windows 1252 code point number rather than the correct Unicode code point number. Links: Section 8.2.4.69 • Related tests
Basic tests
Snapshot summary, 2014-02-15
Firefox 27.0, Opera 19.0.1326.56, Chrome 32.0.1700.107, Safari 6.1.1, Internet Explorer 9, Opera 19.0,
Test link
Assertion
Details
hex ncr
A hexadecimal numeric character reference produces the intended character.
escapes-001
decimal ncr
A decimal numeric character reference produces the intended character.
escapes-002
lowercase entity
A lower case character entity reference produces the intended character.
escapes-003
uppercase entity
An upper case character entity reference produces the intended character.
escapes-004
supplementary character
A hexadecimal numeric reference containing the Unicode code point of a supplementary character produces the intended character.
escapes-005
Characters not in the page encoding
Snapshot summary, 2014-02-15
Firefox 27.0, Opera 19.0.1326.56, Chrome 32.0.1700.107, Safari 6.1.1, Internet Explorer 9, Opera 19.0,
Test link
Assertion
Details
hex ncr outside range of charset
A hexadecimal numeric reference containing the Unicode code point of a character which is not supported by the current character encoding still produces the intended character.
escapes-006
decimal ncr outside range of charset
A decimal numeric reference containing the Unicode code point of a character which is not supported by the current character encoding still produces the intended character.
escapes-007
character entity outside range of charset
A character entity reference for a Unicode code point which is not supported by the current character encoding still produces the intended character.
escapes-008
Reallocated characters
Snapshot summary, 2014-02-15
Firefox 27.0, Opera 19.0.1326.56, Chrome 32.0.1700.107, Safari 6.1.1, Internet Explorer 9, Opera 19.0,
Test link
Assertion
Details
hex ncr for C1 position of euro sign
A hexadecimal numeric reference containing the code point for the euro in the Windows 1252 code page should produce a euro sign.
escapes-009
decimal ncr for C1 position of euro sign
A decimal numeric reference containing the code point for the euro in the Windows 1252 code page should produce a euro sign.
escapes-010