On Feb 16 16:16, Corinna Vinschen wrote: > On Feb 16 15:34, Corinna Vinschen wrote: > > On Feb 16 17:52, Andrey Repin wrote: > > > > Sorry, I can't provide an easy solution, and afaik this is documented. > > > [...] > Maybe I have a simple solution. From your other mails I gather you > suceeded building your own Cygwin DLL. > > If you apply this patch: > > Index: dcrt0.cc > =================================================================== > RCS file: /cvs/src/src/winsup/cygwin/dcrt0.cc,v > retrieving revision 1.453 > diff -u -p -r1.453 dcrt0.cc > --- dcrt0.cc 10 Feb 2014 10:45:50 -0000 1.453 > +++ dcrt0.cc 16 Feb 2014 15:15:44 -0000 > @@ -929,14 +929,14 @@ dll_crt0_1 (void *) > /* Allocate cygheap->fdtab */ > dtable_init (); > > + /* Set internal locale to the environment settings. */ > + initial_setlocale (); > + > uinfo_init (); /* initialize user info */ > > /* Connect to tty. */ > tty::init_session (); > > - /* Set internal locale to the environment settings. */ > - initial_setlocale (); > - > if (!__argc) > { > PWCHAR wline = GetCommandLineW (); > > and rebuild your Cygwin DLL, does it make a difference? In theory > it should work as expected now even with ru_RU.CP866.
It works for me when using german umlauts with LANG=de_DE.cp1252, while it didn't work before, so I applied this path to CVS. HTH, Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat
pgpoYzQ9KQEOe.pgp
Description: PGP signature