Re: strange Win32 localeconv() results

From: yazawa@diac.com
Date: Thu Oct 28 1999 - 18:44:08 EDT


At Thu, 28 Oct 1999 13:53:15 -0700 (PDT),
OLeary, Sean (NJ) <oleary@msmail.awii.com> wrote:
> I'm trying to retrieve the current struct lconv data from Windows and the
> results I'm seeing are puzzling. It seems that the struct is initialized
> mostly with null string pointers and CHAR_MAX (value 0x7F) bytes. Anybody
> know why Win32 is not initializing this struct with meaningful data?

Because EN_US is not recognized as an effective locale by Windows.
setlocale(LC_ALL, "English");
should work.

Cheers.
-------------------
Shigemichi Yazawa
yazawa@diac.com



This archive was generated by hypermail 2.1.2 : Tue Jul 10 2001 - 17:20:54 EDT