This is the mail archive of the
cygwin-developers@cygwin.com
mailing list for the Cygwin project.
Re: perl giving setlocale failures with recent cygwin's, Egor please comment?
- From: Kazuhiro Fujieda <fujieda at jaist dot ac dot jp>
- To: egor duda <cygwin-developers at cygwin dot com>
- Cc: newlib at sources dot redhat dot com
- Date: 29 Aug 2002 22:58:47 +0900
- Subject: Re: perl giving setlocale failures with recent cygwin's, Egor please comment?
- References: <20020829030930.GA2779@redhat.com><6880518559.20020829125652@logos-m.ru>
- Reply-to: cygwin-developers at cygwin dot com
>>> On Thu, 29 Aug 2002 12:56:52 +0400
>>> egor duda <deo@logos-m.ru> 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 <fujieda@jaist.ac.jp>
| HOKURIKU Center for Information Science
o_/ 1990 Japan Advanced Institute of Science and Technology