www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2000/11/15/14:28:23

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-developers-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-developers-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com
Date: Wed, 15 Nov 2000 22:27:05 +0300
From: Egor Duda <deo AT logos-m DOT ru>
X-Mailer: The Bat! (v1.45) Personal
Reply-To: Egor Duda <cygwin-developers AT sources DOT redhat DOT com>
Organization: DEO
X-Priority: 3 (Normal)
Message-ID: <3038577491.20001115222705@logos-m.ru>
To: Kazuhiro Fujieda <fujieda AT jaist DOT ac DOT jp>
CC: cygwin-developers AT sources DOT redhat DOT com
Subject: Re: OemToAnsi patch from 2000-07-04
In-reply-To: <wk4s195ap6.fsf@jaist.ac.jp>
References: <1091101003 DOT 20001115120228 AT logos-m DOT ru>
<20001115105258 DOT A7529 AT redhat DOT com> <wk4s195ap6 DOT fsf AT jaist DOT ac DOT jp>
Mime-Version: 1.0

Hi!

Wednesday, 15 November, 2000 Kazuhiro Fujieda fujieda AT jaist DOT ac DOT jp wrote:

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

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

KF> set CYGWIN=oemcp

if there is CYGWIN=codepage:ansi option than you can do something like

set CYGWIN=%CYGWIN% codepage:ansi

and no matter what codepage: was set in your original %CYGWIN% we will
turn back to default.

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

KF> http://sources.redhat.com/ml/cygwin/2000-10/msg00848.html

well, using alternative console font is a good idea, but it won't help
if we have

echo blah-blah > "some cyrillic file name written in oem (866) codepage"

command  in  our  script.  But  i  think  both  approaches can coexist
peacefully.

Egor.            mailto:deo AT logos-m DOT ru ICQ 5165414 FidoNet 2:5020/496.19


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019