[Mono-bugs] [Bug 51668][Min] New - libicu installed and CurrentCulture always Invariant
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Wed, 3 Dec 2003 16:30:47 -0500 (EST)
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by gonzalo@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=51668
--- shadow/51668 2003-12-03 16:30:47.000000000 -0500
+++ shadow/51668.tmp.4006 2003-12-03 16:30:47.000000000 -0500
@@ -0,0 +1,39 @@
+Bug#: 51668
+Product: Mono/Runtime
+Version: unspecified
+OS: All
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Minor
+Component: misc
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: gonzalo@ximian.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: libicu installed and CurrentCulture always Invariant
+
+I have:
+LANG=es_ES.ISO-8859-1
+
+Add this g_print to this function in locales.c:
+
+int ves_icall_System_Threading_Thread_current_lcid (void)
+{
+ MONO_ARCH_SAVE_REGS;
+
+ g_print ("Default: %s %d\n", uloc_getDefault (), uloc_getLCID
+(uloc_getDefault ()));
+ return(uloc_getLCID (uloc_getDefault ()));
+}
+
+Actual results:
+Default: es_ES 0
+
+Expected results:
+Default: es_ES 3082
+
+(3082 is International, 1034 is Traditional)