From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24925 invoked by alias); 8 Sep 2011 13:45:56 -0000 Received: (qmail 24659 invoked by uid 22791); 8 Sep 2011 13:45:22 -0000 X-Spam-Check-By: sourceware.org Received: from aquarius.hirmke.de (HELO calimero.vinschen.de) (217.91.18.234) by sourceware.org (qpsmtpd/0.83/v0.83-20-g38e4449) with ESMTP; Thu, 08 Sep 2011 13:44:54 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id D00512CB465; Thu, 8 Sep 2011 15:44:51 +0200 (CEST) Date: Thu, 08 Sep 2011 13:45:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: cygwin started speaking German today Message-ID: <20110908134451.GB6163@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <7856072A9D04C24B82DFE2B1112FE38A0C27492B56@MCHP058A.global-ad.net> <4E6828B0.4060807@cwilson.fastmail.fm> <201109081246.23238.bruno@clisp.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <201109081246.23238.bruno@clisp.org> User-Agent: Mutt/1.5.21 (2010-09-15) Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2011-09/txt/msg00063.txt.bz2 [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