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.


>>> On Fri, 21 Jul 2000 15:55:29 -0400
>>> Chris Faylor <cgf@cygnus.com> 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 <fujieda@jaist.ac.jp>
  | HOKURIKU  School of Information Science
o_/ 1990      Japan Advanced Institute of Science and Technology


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