Wrong handling of metric (millimeter) margins in Page Setup

S

Stephen B

This is a wierd one:

Depending on the country I select in Windows XP (SP 2) with the Control
Panel Regional Settings, Internet Explorer 6 uses either the correct or
way-off incorrect factor to convert inches to millimeters. System is
up-to-date with the latest patches at time of posting.

Does anybody know why this is happening? Does Microsoft know about this bug?

I can easily reproduce the problem:

1. If I set my regional settings to English (United States) with Measurement
system = "U.S.", then, using Internet Explorer's "Page Setup" I set my
margins to 1 inch all around. In the registry under
HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\PageSetup, I see the
"1" correctly stored.

2. Using the control panel I set the country preferences to "English
(Ireland)" or "English (United Kingdom)" - either will do, and other
countries too have this bug. These countries have the Measurement System set
to "Metric" - but click the "Customize" button to make sure.

3. I now bring up the Page Setup dialog again, and see that the margins are
showing as 10 millimeters all around. The registry still shows the margins
as "1", as it still retains the inch values. Some piece of rotten software
is converting 1 inch to 10 millimeters.

but wait....

4. Change regional settings back to English (United States), and click the
"Customize" button to set the Measurement System to "Metric". (Don't forget
to hit Apply or OK). Then bring up IE's Page Setup dialog again. I see that
the margin is now showing as 25.4 mm all around. - Correct this time IE!

What is going on here?

- Stephen
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top