delorie.com/archives/browse.cgi | search |
2009/5/14 Corinna Vinschen <corinna-cygwin AT cygwin DOT com>: >> > Should the following part not be modified? >> > >> > winsup/cygwin/fhandler_console.cc: >> > > dev_state->con_mbtowc =3D __mbtowc; >> > > dev_state->con_wctomb =3D __wctomb; >> >> I'd rather not. =A0It only affects the console and if LANG=3DC I'd rather >> see the single bytes which make up the path instead of the corresponding >> UTF-8 character. > > Hm, maybe I misunderstood. =A0In which manner should this be modifed? I think: dev_state->con_mbtowc =3D __mbtowc =3D=3D __ascii_mbtowc ? __utf8_mbtowc : = __mbtowc; dev_state->con_wctomb =3D __wctomb =3D=3D __ascii_wctomb ? __utf8_wctomb : = __wctomb; --=20 IWAMURO Motnori <http://vmi.jp/> -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |