X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 05700385783E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1700753797; bh=VAbuxnEhvYuuRD+3bA0CZyxRFJvD8ukmR7bPjiCuGjU=; h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=FX1asOksWSQI4jNIMROg0HOXb2wrXoT5t7pvPfJkz+FZrAeXwXZpBY78XW+KCFGh0 uDJ6H9FtzjdhUtlS/lpOYSZuFeCSDyAx7IC9g3sPOFaBGIQ1qcAT5O0uEeX4Wme27r Ovwf52/2FdP6Qoh8qBMfSvemm7SuyLT/z78c1YF0= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B2D06385842F Date: Thu, 23 Nov 2023 16:36:21 +0100 To: cygwin AT cygwin DOT com Subject: Re: Set localisation locale of Windows netstat? Message-ID: Mail-Followup-To: cygwin AT cygwin DOT com References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Corinna Vinschen via Cygwin Reply-To: cygwin AT cygwin DOT com Cc: Corinna Vinschen Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" On Nov 23 00:25, Cedric Blancher via Cygwin wrote: > Good morning! > > How can I set the localisation locale of Windows netstat cmd from > Cygwin? LC_ALL=C does not help, a French or German Windows will use > French or German language still Cygwin has no influence on how non-Cygwin tools are doing their job. They typically don't understand the POSIX-compatible locale environment strings, and afaik, they don't support $LC_* at all, only $LANG. And it's getting worse: If you have a localized version of the tools, there's no guarantee that the locale data of other languages is even present on your system. US English is the only common denominator, but I wouldn't bet on it... Having said that, LANG=C *should* work, but, of course, there's no guarantee that a Windows builtin tool will even deign to honor $LANG. There is some description of the possible locale expressions supported in $LANG on https://learn.microsoft.com/, it's just that the search algorithm on that site is incredibly unhelpful at times... Corinna -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple