Hi,

On Windows users can customize the regional options for their
language.  To get this information you can call GetLocaleInfo to
obtain each individual setting.  The attached patch is a new
implementation of
ves_icall_System_Globalization_CultureInfo_construct_datetime_format
and ves_icall_System_Globalization_CultureInfo_construct_number_format
for Windows to obtain the correct settings.

Also this patch contains a fix the missing implementation of
g_win32_getlocale in eglib.

-bill

2009-06-23  Bill Holmes  <billholme...@gmail.com>

        * locales.c  
(ves_icall_System_Globalization_CultureInfo_construct_datetime_format)
          (ves_icall_System_Globalization_CultureInfo_construct_number_format) :
          For Windows call GetLocaleInfoA when possible to populate the culture 
info.
          This is needed when users customize a language for the regional 
options.

        * locales.c (get_current_locale_name) : Replace the eglib call to
g_win32_getlocale.

        Contributed under MIT/X11 license.

Attachment: CultureInfo_construct.patch
Description: Binary data

_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Reply via email to