[1.7] Proposal: the filename encoding in C locale uses UTF-8 instead of SO/UTF-8

Corinna Vinschen corinna-cygwin@cygwin.com
Wed May 13 19:50:00 GMT 2009


On May 13 21:46, Corinna Vinschen wrote:
> On May 14 04:13, IWAMURO Motonori wrote:
> > 2009/5/14 Corinna Vinschen <corinna-cygwin@cygwin.com>:
> > > I already wrote that patch, see
> > > http://cygwin.com/ml/cygwin-cvs/2009-q2/msg00066.html
> > > It seems to do what you are proposing.
> > 
> > I read it and built cygwin1.dll. It seems to work correctly.
> > 
> > Should the following part not be modified?
> > 
> > winsup/cygwin/fhandler_console.cc:
> > > dev_state->con_mbtowc = __mbtowc;
> > > dev_state->con_wctomb = __wctomb;
> 
> I'd rather not.  It only affects the console and if LANG=C I'd rather
> see the single bytes which make up the path instead of the corresponding
> UTF-8 character.

Hm, maybe I misunderstood.  In which manner should this be modifed?


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list