[Mono-list] Problems with InvariantCulture on Maemo.
keks-n
keks9n at gmail.com
Sun Apr 10 07:46:07 EDT 2011
Hello. I've managed to build mono on Maemo 5 (on Nokia N900) and even
MonoDevelop works properly. But there is a problem with locales. For
example:
Double.Parse ("1.0",
System.Globalization.CultureInfo.InvariantCulture.NumberFormat);
It works, when LC_ALL=ru_RU.UTF8, but fails with en_US.UTF8:
System.FormatException: Input string was not in the correct format
at System.Double.Parse (System.String s, NumberStyles style,
IFormatProvider provider) [0x00000] in :0
at System.Double.Parse (System.String s, IFormatProvider provider)
[0x00000] in :0
Mono version 2.6.7, managed binaries built from debian source package from
Ubuntu repositories, native binaries build from source tarball.
I have no idea about the reason of this problem. Please help to fix it.
--
View this message in context: http://mono.1490590.n4.nabble.com/Problems-with-InvariantCulture-on-Maemo-tp3439657p3439657.html
Sent from the Mono - General mailing list archive at Nabble.com.
More information about the Mono-list
mailing list