From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 115661 invoked by alias); 3 Apr 2019 07:37:54 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 115651 invoked by uid 89); 3 Apr 2019 07:37:54 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-3.2 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.1 spammy=H*r:142, HX-Languages-Length:569 X-HELO: eggs.gnu.org Received: from eggs.gnu.org (HELO eggs.gnu.org) (209.51.188.92) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 03 Apr 2019 07:37:53 +0000 Received: from fencepost.gnu.org ([2001:470:142:3::e]:49205) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hBaT1-0007Zg-HY; Wed, 03 Apr 2019 03:37:51 -0400 Received: from [176.228.60.248] (port=4146 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hBaT0-0007O0-46; Wed, 03 Apr 2019 03:37:50 -0400 Date: Wed, 03 Apr 2019 07:37:00 -0000 Message-Id: <83k1gbedyc.fsf@gnu.org> From: Eli Zaretskii To: LRN CC: gdb-patches@sourceware.org In-reply-to: <56f759e3-65ad-f284-40f8-5b221477a9de@gmail.com> (message from LRN on Wed, 3 Apr 2019 07:58:44 +0300) Subject: Re: [PATCH][PR server/24377] Fix mixing English and system default languages in error messages on Windows References: <83mullpwg6.fsf@gnu.org> <83ef6qjdbb.fsf@gnu.org> <838swyjafd.fsf@gnu.org> <837echkgjo.fsf@gnu.org> <8336n3hzkx.fsf@gnu.org> <7041169d-9f64-fcce-2c3c-021dd1858923@dronecode.org.uk> <83wokbelu2.fsf@gnu.org> <56f759e3-65ad-f284-40f8-5b221477a9de@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-IsSubscribed: yes X-SW-Source: 2019-04/txt/msg00042.txt.bz2 > From: LRN > Date: Wed, 3 Apr 2019 07:58:44 +0300 > > > Beware: only the Cygwin setlocale supports environment variables, the > > native MS-Windows implementation used by MinGW does not. > > > > That's what gettext is for. And/or gnulib. Won't happen unless Gnulib's setlocale is imported. And the proposed patch didn't do that, AFAIU. (I don't see 'setlocale' in the Gettext library, FWIW, so I don't think Gettext alone will solve this.)