oem/ansi codepage support

Kazuhiro Fujieda fujieda@jaist.ac.jp
Fri Dec 1 23:20:00 GMT 2000


>>> 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


More information about the Cygwin-patches mailing list