perl giving setlocale failures with recent cygwin's, Egor please comment?

Kazuhiro Fujieda
Thu Aug 29 06:58:00 GMT 2002

>>> 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

More information about the Newlib mailing list