Umlauts on commandline and in .bat files

egor duda deo@logos-m.ru
Wed Jul 18 09:36:00 GMT 2001


Hi!

Wednesday, 18 July, 2001 Ralf Fassel ralf@akutech.de wrote:

RF> * egor duda
| >>>     h:\ralf\si++.4.0.C138>./t.exe "-Í_õ÷³¯"
| >>>     055 315 137 365 367 263 257
RF> | 
| CV>> CMD is running with OEM character set, Cygwin processes with ANSI.
RF> | 
RF> | But one can change the latter by adding 'codepage:oem' to then CYGWIN
RF> | environment variable.

RF> I'd rather change the former... :-/

you have to write your own cmd.exe then...

RF> I thought the character set only determines which character
RF> representation is shown on the screen (octal 304 is Umlaut-A in one
RF> set and fuzzy-bar in another), not which *byte* value is passed to the
RF> command?  Octal 304 is octal 304 no matter what character set?

it also affects input. when you type something in console window and
some program tries to read this input, what it got depends on what
codepage is currently selected.

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/



More information about the Cygwin mailing list