Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com To: cygwin-developers AT cygwin DOT com Subject: Re: OemToAnsi patch from 2000-07-04 References: <1091101003 DOT 20001115120228 AT logos-m DOT ru> <20001115105258 DOT A7529 AT redhat DOT com> MIME-Version: 1.0 (generated by SEMI 1.13.5 - =?ISO-8859-4?Q?=22Meih=F2=22?=) Content-Type: text/plain; charset=US-ASCII From: Kazuhiro Fujieda Date: 16 Nov 2000 03:53:09 +0900 In-Reply-To: <20001115105258.A7529@redhat.com> (Christopher Faylor's message of "Wed, 15 Nov 2000 10:52:58 -0500") Message-ID: User-Agent: Nana-gnus/6.13.9 SEMI/1.13.5 (=?ISO-8859-4?Q?Meih=F2?=) FLIM/1.13.2 (Kasanui) Emacs/20.4 (i386-*-windows98.2222) MULE/4.1 (AOI) Meadow/1.10 (TSUYU) >>> On Wed, 15 Nov 2000 10:52:58 -0500 >>> Christopher Faylor 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 | HOKURIKU School of Information Science o_/ 1990 Japan Advanced Institute of Science and Technology