1 ISO 8859-1, C1 cp1252

Objective: When the encoding is declared to be ISO 8859-1, are Windows 1252 characters in the C1 range displayed, and what encoding does the user agent report?

The meta encoding declaration says ISO 8859-1. The C1 range characters included are characters in the Windows 1252 code page.

Click on the link and check (a) what the encoding setting is in the browser chrome, and (b) whether you see the characters described on the page.

Click here

2 ISO 8859-1, C1 cp1256

Objective: If we change the C1 range characters to be only those that are not in Windows 1252, but are in Windows 1256, does this make a difference?

The meta encoding declaration says ISO 8859-1. The C1 characters are 0x81, 0x8D and 0x8F.

Click on the link and check (a) what the encoding setting is in the browser chrome, and (b) whether you see the characters described on the page, and whether those are different from the results of test 2.

Click here

3 ISO 8859-15, C1 cp1252

Objective: Are C1 characters displayed when the encoding is declared to be ISO 8859-15, and what encoding does the user agent report?

The in-document meta element says that this page is encoded as ISO 8859-15.

Click on the link and check (a) what the encoding setting is in the browser chrome, and (b) whether you see the characters described on the page.

Click here

4 ISO 8859-15, C1 cp1256

Objective: If we change the C1 range characters to be only those that are not in Windows 1252, but are in Windows 1256, does this make a difference?

The meta encoding declaration says ISO 8859-15. The C1 characters are 0x81, 0x8D and 0x8F. The C1 range characters are only

Click on the link and check (a) what the encoding setting is in the browser chrome, and (b) whether you see the characters described on the page, and whether those are different from the results of test 3.

Click here

Before running the following tests: Set the default encoding for the user agent, where possible, to ISO Latin 1 or your preferred encoding. Ensure you have a font that works with ISO 8859-1, ISO 8859-15, Windows 1252, and Windows 1256 code pages, or any other encoding you set as the default.

5 Default encoding discovery

Objective: What is the default character encoding of the user agent?

This test serves as a control to determine that the expected encoding is set as the default. There is no encoding information in the HTTP header or the in-document meta element for this page.

Click on the link and check what the encoding setting is in the browser chrome.

Click here

6 Default encoding, C1 cp1252

Objective: Are C1 characters displayed when there is no encoding information supplied with the file, and what encoding does the user agent report?

There is no encoding information in the HTTP header, nor the in-document meta element.

Click on the link and check (a) what the encoding setting is in the browser chrome, and (b) whether you see the characters described on the page.

Click here

7 Default encoding, C1 cp1256

Objective: Are C1 characters displayed when there is no encoding information supplied with the file, and what encoding does the user agent report?

There is no encoding information in the HTTP header, nor the in-document meta element.

Click on the link and check (a) what the encoding setting is in the browser chrome, and (b) whether you see the characters described on the page.

Click here

8 ISO 8859-1, ASCII+C1

Objective: Does it make a difference if no characters above the C1 range are in the text when the encoding is declared to be ISO 8850-1?

This is a control test that is expected to yield the same result as test 1. The file's encoding is declared as ISO 8859-1.

Click on the link and check (a) what the encoding setting is in the browser chrome, and (b) whether you see the characters described on the page.

Click here

9 Default encoding, ASCII+C1

Objective: Does it make a difference if no characters above the C1 range are in the text when the default encoding is used?

This is a control test that is expected to yield the same result as test 6. The file carries no encoding information.

Click on the link and check (a) what the encoding setting is in the browser chrome, and (b) whether you see the characters described on the page.

Click here

Version: $Id: test-encoding-detection-1.html,v 1.2 2008/08/01 15:17:59 rishida Exp $