preliminary patch3 for i18n: eliminate calls to wcstombs.

Corinna Vinschen
Fri Jul 21 13:27:00 GMT 2000

Chris Faylor wrote:
> On Sat, Jul 22, 2000 at 04:51:49AM +0900, Kazuhiro Fujieda wrote:
> >The current implementation of wcstombs() can't convert a
> >wide-character string encoded by UNICODE to a correct multi-byte
> >string. So we should use WideCharToMultiByte instead of it.
> Hmm.  I wonder if it wouldn't make sense to implement wcstombs using
> WideChartoMultiByte instead.


However, using defines instead of the `magic' 256 is definitely a
good idea.


Corinna Vinschen
Cygwin Developer
Cygnus Solutions, a Red Hat company

More information about the Cygwin-patches mailing list