[Mono-dev] CurrentCulture Empty?
Cory Foy
usergroup at cornetdesign.com
Wed Jun 7 19:53:08 EDT 2006
Can anyone provide some info about whether CultureInfo should be
working? Thanks!
Cory
Cory Foy wrote:
> Hi All,
>
> We noticed that our tests in NUnit around CultureInfo were failing with
> an empty culture info. I was going to dig through the Mono source, but
> CultureInfo is apparantly not the most straightforward thing to pull.
>
> Do I need to open a bug report on this?
>
> Thanks!
>
> Cory
>
> -----
>
> foyc at dilbert ~/workspace/monobugs $ mono -V
> Mono JIT compiler version 1.1.15, (C) 2002-2005 Novell, Inc and
> Contributors. www.mono-project.com
> TLS: normal
> GC: Included Boehm (with typed GC)
> SIGSEGV: normal
> Disabled: none
>
> foyc at dilbert ~/workspace/monobugs $ cat CultureBug.cs
> using System;
> using System.Globalization;
>
> public class TestCultureInfo
> {
> public static void Main(String[] args)
> {
> Console.WriteLine("Current Culture: " +
> CultureInfo.CurrentCulture.ToString());
> Console.WriteLine("Current UICulture: " +
> CultureInfo.CurrentUICulture.ToString());
> }
> }
>
> foyc at dilbert ~/workspace/monobugs $ mcs CultureBug.cs
>
> foyc at dilbert ~/workspace/monobugs $ mono CultureBug.exe
> Current Culture:
> Current UICulture:
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
--
Cory Foy
http://www.cornetdesign.com
More information about the Mono-devel-list
mailing list