[Mono-list] Cultural Problems

Dick Porter dick@ximian.com
18 Feb 2004 14:47:07 +0000


On Wed, 2004-02-18 at 14:14, Ferguson, Neale wrote:
> Hi,
>  Running my ported JIT I get:
> 
> Unhandled Exception: System.ArgumentException: Culture ID 4967152 (0x0000)
> is not supported.
> 
> Are there environment variables I need to set so that uloc_getDefault and
> uloc_getLCID work properly? I can't find any man or info pages on these ICU
> APIs.

$LANG should be enough.

However, that error message looks like something is being mangled.  Try
setting a breakpoint in ves_icall_System_Threading_Thread_current_lcid()
in metadata/locales.c.

- Dick