awesomium / awesomium-pub

9 stars 0 forks source link

Utilities.SetCulture does not reflect decimal symbol #97

Open sjoerd222888 opened 9 years ago

sjoerd222888 commented 9 years ago

On windows I can change the decimal symbol (at least for my locale). When using Utilities.SetCulture to set the culture it does set the locale such that navigator.language is correct, but it does not take over the decimal symbol settings (that are also part of the culture).

So your Utilities.SetCulture looks to me only setting the webkit locale.

Perikles commented 8 years ago

This is the expected behavior. Details provided here: http://answers.awesomium.com/questions/6836/

sjoerd222888 commented 8 years ago

... If I have set "," as decimal separator in my culture the HTML number input fields do not accept "," as decimal separator. But I get your point. You only read the locale and set it on the browser. Settings in your culture that are different to the locale defined in the browser are not reflected. That's just the most lazy implementation that is possible, but ok.