Mailing-List: contact cygwin-developers-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT cygwin DOT com Delivered-To: mailing list cygwin-developers AT cygwin DOT com To: egor duda Cc: newlib AT sources DOT redhat DOT com Subject: Re: perl giving setlocale failures with recent cygwin's, Egor please comment? Reply-To: cygwin-developers AT cygwin DOT com References: <20020829030930 DOT GA2779 AT redhat DOT com> <6880518559 DOT 20020829125652 AT logos-m DOT ru> Mime-Version: 1.0 (generated by tm-edit 7.106) Content-Type: text/plain; charset=US-ASCII From: Kazuhiro Fujieda Date: 29 Aug 2002 22:58:47 +0900 In-Reply-To: egor duda's message of Thu, 29 Aug 2002 12:56:52 +0400 Message-ID: Lines: 15 >>> On Thu, 29 Aug 2002 12:56:52 +0400 >>> egor duda said: > 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. setlocale(category, "") commonly returns "C" when any relevant environment variables aren't set. The MB_CAPABLE version of setlocale should be fixed. ____ | AIST Kazuhiro Fujieda | HOKURIKU Center for Information Science o_/ 1990 Japan Advanced Institute of Science and Technology