[Mono-bugs] [Bug 588708] RegionInfo.CurrentRegion should not return null
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Thu Apr 1 03:01:59 EDT 2010
http://bugzilla.novell.com/show_bug.cgi?id=588708
http://bugzilla.novell.com/show_bug.cgi?id=588708#c7
Atsushi Enomoto <aenomoto at novell.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Version|2.6.x |SVN
--- Comment #7 from Atsushi Enomoto <aenomoto at novell.com> 2010-04-01 07:01:57 UTC ---
The first thing to check is if CurrentCulture is properly initialized. Check
this:
using System;
using System.Globalization;
using System.Threading;
public class TestCase
{
static void Main ()
{
Console.WriteLine (CultureInfo.CurrentCulture.LCID);
}
}
On Windows I got 127(!), which is InvariantCulture, and really wrong and
unexpected (never happens on .NET).
Second, .NET has changed its behavior to return "IV" Region for Invariant
bootstrap Culture (that is, not CurrentCulture, but the culture at initial
state). So we'd need that too (probably by adding some locale-builder hack).
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the mono-bugs
mailing list