W3C home > Mailing lists > Public > www-style@w3.org > May 2009

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

From: fantasai <fantasai.lists@inkedblade.net>
Date: Thu, 14 May 2009 11:27:51 -0700
Message-ID: <4A0C62A7.3010202@inkedblade.net>
To: daniel.goldschmidt@gmail.com
CC: www-international@w3.org, www-style@w3.org
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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:18 GMT