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: oem/ansi codepage support


>>> On Sat, 2 Dec 2000 00:01:29 -0500
>>> Christopher Faylor <cgf@redhat.com> said:

> The patch looks good but isn't there an LC_something environment
> variable that is equivalent to this on Linux.

LC_* environment variables aren't equivalent to this.
I recommend that we use the CYGWIN env variable.

On Linux, these variables control the behavior of C library
functions related to i18n: mbstowcs, strcoll, strftime, and so on.
They can't control behavior of kernel functions: the console
device and the file system. Egor's patch corresponds to the
latter on Cygwin.

The Cygwin DLL has C library functions and kernel functions, so
it may be good idea that these variables control both.  This,
however, is meaningful when C library functions are accommodated
to i18n.
____
  | 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]