1 Without signature

Objective: Does the user agent automatically detect a UTF-8 encoded file and display the file as UTF-8, even if the HTTP and internal declarations say it has a different encoding?

Description: This object tag displays a UTF-8 file served as US-ASCII with no UTF-8 signature (BOM). If the characters appear as described, the user agent has detected that this is a UTF-8 file, and displayed it as such, despite the HTTP and in-document declarations.

Check whether the non-English characters display as described (given appropriate fonts).

Test

2 With signature

Objective: Does the user agent use the presence of a UTF-8 signature to display the file as UTF-8, even if the HTTP and internal declarations say it has a different encoding?

Description: This object tag displays a UTF-8 file served as US-ASCII with a UTF-8 signature (BOM). If the characters appear as described, the user agent has detected that this is a UTF-8 file, and displayed it as such, despite the HTTP and in-document declarations. This test is only significant if test 1 does not display the non-ASCII text as described.

Check whether the non-English characters display as described (given appropriate fonts). There are likely to also be additional characters at the start of the text (representing the signature) if the text is not displayed as UTF-8.

Test

Version: $Id: test-utf8-recognition-2.html,v 1.4 2008/08/08 16:51:34 rishida Exp $