This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
Re: perl giving setlocale failures with recent cygwin's, Egor please comment?
- From: egor duda <deo at logos-m dot ru>
- To: Christopher Faylor <cygwin-developers at cygwin dot com>
- Cc: newlib at sources dot redhat dot com
- Date: Thu, 29 Aug 2002 12:56:52 +0400
- Subject: Re: perl giving setlocale failures with recent cygwin's, Egor please comment?
- Organization: deo
- References: <20020829030930.GA2779@redhat.com>
- Reply-to: egor duda <cygwin-developers at cygwin dot com>
Hi!
Thursday, 29 August, 2002 Christopher Faylor cgf@redhat.com wrote:
CF> I just rebuilt cygwin with the newest version of newlib and noticed
CF> a lot of these type of warnings:
CF> perl: warning: Setting locale failed.
CF> perl: warning: Please check that your locale settings:
CF> LC_ALL = (unset),
CF> LANG = (unset)
CF> are supported and installed on your system.
CF> Is it possible that this is due to Egor's recent mb change in newlib?
Yes, it's definitely so. Previously, setlocale (LC_CTYPE, "") was
returning "C", while now, in MB_CAPABLE configuration, it returns NULL.
I'm not sure whether it's better to fix it in newlib or in perl, though.
Egor. mailto:deo@logos-m.ru ICQ 5165414 FidoNet 2:5020/496.19