delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/09/08/09:51:57

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Thu, 8 Sep 2011 15:50:39 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Cc: bug-gnu-gettext AT gnu DOT org
Subject: Re: cygwin started speaking German today
Message-ID: <20110908135039.GD6163@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com, bug-gnu-gettext AT gnu DOT org
Mail-Followup-To: cygwin AT cygwin DOT com, bug-gnu-gettext AT gnu DOT org
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
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
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019