Re: controlling digits substitution in IE/FF (Arabic/Hindi/Decimal)

Daniel Goldschmidt wrote:
> Hey,
> 
> In Arabic (and other language) the European Decimal digits can be 
> substitute by Hindi digit depending the context.
> 
> On Windows platform there is a possibility to set the digits 
> substitution behavior to as follow:
>  - Context (the default)
>  - None
>  - National
> 
> (Control Panel -> Regional and Language Setting -> Regional Options -> 
> Customize)
> 
> I'm experiencing differences in the behavior of  Firefox, Chrome, and 
> Internet Explorer, while displaying digits in pages with dir="RTL" (with 
> Regional Options set to Arabic(Egypt)):
> In Firefox/Chrome the digits are not substituted (European Decimal 
> digits are displayed)
> In IE digits are substituted (Hindi digits are displayed)
> 
> Questions:
> What is the reason for those behaviour of the different browsers?
> Can I control (using CSS or markups) the behaviour? (I cannot expect the 
> end-user to change his/her setting in the control panel...).

In my opinion, the browser should not be doing any such substitution
in web pages. Although the browser's UI should be affected by system
localization, web pages displayed in it should not. If CSS needs to
have controls to enable these kinds of transformations, then we can
add them to the 'text-transform' property. But by default, I don't
think it makes sense for this kind of automatic substitution to affect
web page content.

[CCing www-style.]

~fantasai

Received on Thursday, 14 May 2009 18:28:39 UTC