Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries. Thanks for all your past and future contributions.

Archived:Phone language affects HTML/CSS/JavaScript parsing on devices using OSS browser 3.1 and 3.2 (Known Issue)

From Wiki
Jump to: navigation, search

Archived.pngArchived: 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.

Article Metadata
Tested with
Devices(s): All devices using OSS browser 3.1 or 3.2
Platform(s): S60 3rd edition FP1, S60 3rd edition FP2
S60 3rd Edition FP2
S60 3rd Edition FP1
Created: User:Kbwiki (23 Dec 2009)
Last edited: hamishwillee (17 Jul 2012)


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.


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.


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.

This page was last modified on 17 July 2012, at 10:13.
39 page views in the last 30 days.