This is the mail archive of the cygwin-patches@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: preliminary patch3 for i18n: eliminate calls to wcstombs.


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.

Yup.

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

Corinna

-- 
Corinna Vinschen
Cygwin Developer
Cygnus Solutions, a Red Hat company

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]