Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 X-Mailer: The Bat! (v1.53 RC/4) Reply-To: egor duda Organization: deo X-Priority: 3 (Normal) Message-ID: <126156737787.20010718150901@logos-m.ru> To: Corinna Vinschen CC: Ralf Fassel 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 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit 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/