preliminary patch3 for i18n: eliminate calls to wcstombs.

Kazuhiro Fujieda
Fri Jul 21 14:16:00 GMT 2000

>>> On Fri, 21 Jul 2000 15:55:29 -0400
>>> Chris Faylor <> said:

> Hmm.  I wonder if it wouldn't make sense to implement wcstombs using
> WideChartoMultiByte instead.

I have already implemented it. But wcstombs() must be sensitive
to a locale selected by an application according to ISO C and
the Single Unix Specification. As for the inside of Cygwin, the
conversion must be always done in the system default locale.  So
we must use WideCharToMultiByte in any case.
  | AIST      Kazuhiro Fujieda <>
  | HOKURIKU  School of Information Science
o_/ 1990      Japan Advanced Institute of Science and Technology

More information about the Cygwin-patches mailing list