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

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

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