This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: cygwin started speaking German today
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 8 Sep 2011 15:44:51 +0200
- Subject: Re: cygwin started speaking German today
- References: <7856072A9D04C24B82DFE2B1112FE38A0C27492B56@MCHP058A.global-ad.net> <4E6828B0.4060807@cwilson.fastmail.fm> <201109081246.23238.bruno@clisp.org>
- Reply-to: cygwin at cygwin dot com
[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