delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/07/18/07:19:23

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Wed, 18 Jul 2001 15:09:01 +0400
From: egor duda <deo AT logos-m DOT ru>
X-Mailer: The Bat! (v1.53 RC/4)
Reply-To: egor duda <cygwin AT cygwin DOT com>
Organization: deo
X-Priority: 3 (Normal)
Message-ID: <126156737787.20010718150901@logos-m.ru>
To: Corinna Vinschen <cygwin AT cygwin DOT com>
CC: Ralf Fassel <ralf AT akutech DOT de>
Subject: Re: Umlauts on commandline and in .bat files
In-Reply-To: <20010718130055.B7388@cygbert.vinschen.de>
References: <15189 DOT 27038 DOT 830962 DOT 27804 AT jupiter DOT akutech-local DOT de>
<20010718130055 DOT B7388 AT cygbert DOT vinschen DOT de>
MIME-Version: 1.0

Hi!

Wednesday, 18 July, 2001 Corinna Vinschen cygwin AT cygwin DOT com wrote:

>> Now in a .bat file, I have a commandline containing german Umlauts:
>>     $ cat ttt.bat
>>     ./t.exe "ÄÖÜäöüß"
>> 
>> Running this via `sh' yields the expected result:
>>     $ sh ttt.bat
>>     304 326 334 344 366 374 337
>> 
>> But running via the `.bat => cmd' binding
>>     $ ./ttt.bat
>> 
>>     h:\ralf\si++.4.0.C138>./t.exe "-Í_õ÷³¯"
>>     055 315 137 365 367 263 257

CV> CMD is running with OEM character set, Cygwin processes with ANSI.

But one can change the latter by adding 'codepage:oem' to then CYGWIN
environment variable.

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


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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