[Mono-dev] Invariant Culture question

Rafael Teixeira monoman at gmail.com
Mon Jun 19 15:49:03 EDT 2006


Hi Cory, I think you have to study things a bit more.

The Invariant Culture is an ECMA CLI (.NET) concept. Mono just has to
implement it to be compatible. It surely isn't Linux specific.

The main thing is: It is not about not knowing what the local culture
is, it is about specifically wanting not to be affected by it. The
Invariant Culture is specially built to be, let me say it again,
invariant, therefore giving predictable results that can be exchanged
between contexts/processes/computers, which may be running under
different cultures.

Regards,

On 6/19/06, Cory Foy <usergroup at cornetdesign.com> wrote:
> Thanks for the replies of why CultureInfo.ToString was empty - because
> it was an invariant culture, which doesn't have a name.
>
> My question now is, why is it Invariant Culture? Is it a Linux specific
> thing? Is there a reason we couldn't determine the culture for the
> platform in Mono?
>
> Any help or pointers would be gladly appreciated. I'm trying to
> determine if we should just limit our CultureInfo tests to the .NET
> platform only, or if there is something that could be done to determine
> the local CultureInfo.
>
> Thanks!
>
> --
> Cory Foy
> http://www.cornetdesign.com
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>


-- 
Rafael "Monoman" Teixeira
---------------------------------------
"The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man." George Bernard Shaw



More information about the Mono-devel-list mailing list