X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Thu, 8 Sep 2011 15:44:51 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: cygwin started speaking German today Message-ID: <20110908134451.GB6163@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <7856072A9D04C24B82DFE2B1112FE38A0C27492B56 AT MCHP058A DOT global-ad DOT net> <4E6828B0 DOT 4060807 AT cwilson DOT fastmail DOT fm> <201109081246 DOT 23238 DOT bruno AT clisp DOT 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 AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list 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