This is the mail archive of the cygwin-developers@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: OemToAnsi patch from 2000-07-04


>>> On Wed, 15 Nov 2000 10:52:58 -0500
>>> Christopher Faylor <cgf@redhat.com> said:

> I have no problem with a Cygwin option.  Should it be more general, though?
> Something like:
> 
> set CYGWIN=codepage:oem

It doesn't need such generosity. Because we can't choose other
codepages than the system default ANSI or OEM codepage as the
internal codepage of the Cygwin DLL. I think the following
simple switch is sufficient for this purpose.

set CYGWIN=oemcp

Anyway, if Egor would like to handle only output messages in the
OEM codepage (866), the idea proposed by Brad Town in the
following message, where an escape sequence switches codepages,
seems to work well.

http://sources.redhat.com/ml/cygwin/2000-10/msg00848.html
____
  | 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]