Archived:Phone language affects HTML/CSS/JavaScript parsing on devices using OSS browser 3.1 and 3.2 (Known Issue)
Archived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.
The article is believed to be still valid for the original topic scope.
The article is believed to be still valid for the original topic scope.
Article Metadata
Tested with
Devices(s): All devices using OSS browser 3.1 or 3.2
Compatibility
Platform(s): S60 3rd edition FP1, S60 3rd edition FP2
Article
Created: User:Kbwiki
(23 Dec 2009)
Last edited: hamishwillee
(17 Jul 2012)
Overview
Decimal values used in CSS or JavaScript are parsed according to locale, which leads to misinterpretation of a number value in languages where a comma is used as a decimal separator.
Description
For example, the CSS style definition {{{1}}} is interpreted as 1em when run on a phone which is set to a language that uses a comma as decimal separator, such as Finnish.
You should also be cautious when handling numbers in JavaScript. {{{1}}} is interpreted as 1 in the same conditions described above.
Solution
No solution available. If you are targeting your widget or website for phones that use OSS browser 3.1 or 3.2, avoid using decimal values in style sheets.

