[Mono-list] Cultural Problems

Ferguson, Neale Neale.Ferguson@SoftwareAG-USA.com
Wed, 18 Feb 2004 10:28:53 -0500


Forgot to reply all ...

I have the ICU 2.6 RPMs installed.

-----Original Message-----
From: Dick Porter [mailto:dick@ximian.com]
Sent: Wednesday, February 18, 2004 10:26 AM
To: Ferguson, Neale
Subject: RE: [Mono-list] Cultural Problems


On Wed, 2004-02-18 at 15:02, Ferguson, Neale wrote:
> ucl_getDefault is returning a value of en_US and ucl_getLCID returns
> for that a value of 0.

What version of ICU are you using?  en_US should have an LCID of 1033
(0x0409).

As a workaround, you could patch the constructor in
corlib/System.Globalization/CultureInfo.cs to treat a value of '0' like
0x7f and construct an invariant culture.

- Dick