This is the mail archive of the cygwin@cygwin.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: Umlauts on commandline and in .bat files


Hi!

Wednesday, 18 July, 2001 Corinna Vinschen cygwin@cygwin.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@logos-m.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]