delorie.com/archives/browse.cgi | search |
[from vacation] On Sep 8 12:46, Bruno Haible wrote: > After Cygwin 1.7 added working locales and defined LANG=C.UTF-8 for all users, > libintl could be extended to respect the choices the user has made in the > system control panels. That's the wrong approach. As I wrote in an earlier message with respect to libintl, Cygwin is not Windows but a POSIX system in the first place. Do NOT call Windows functions in Cygwin libraries, unless the lib is doing something very special which isn't provided by POSIX functions. Only call POSIX functions. Don't mix the Cygwin and the Windows environment. Please leave the interfacing to the underlying OS the sole job of Cygwin. This includes how the internationalization environment is handled. Basically, if you add a #ifdef __CYGWIN__ to your code to call Windows functions, don't. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |