delorie.com/archives/browse.cgi | search |
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: | <ZV9xdf+bbAFPnan+@calimero.vinschen.de> |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <CALXu0Uf6uF12g67viBiCDeSuDDKWViMHbhkcPqOMt-Lz5RJF_A AT mail DOT gmail DOT com> |
MIME-Version: | 1.0 |
In-Reply-To: | <CALXu0Uf6uF12g67viBiCDeSuDDKWViMHbhkcPqOMt-Lz5RJF_A@mail.gmail.com> |
X-BeenThere: | cygwin AT cygwin DOT com |
X-Mailman-Version: | 2.1.30 |
List-Id: | General Cygwin discussions and problem reports <cygwin.cygwin.com> |
List-Unsubscribe: | <https://cygwin.com/mailman/options/cygwin>, |
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe> | |
List-Archive: | <https://cygwin.com/pipermail/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-request AT cygwin DOT com?subject=help> |
List-Subscribe: | <https://cygwin.com/mailman/listinfo/cygwin>, |
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe> | |
From: | Corinna Vinschen via Cygwin <cygwin AT cygwin DOT com> |
Reply-To: | cygwin AT cygwin DOT com |
Cc: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
Errors-To: | cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com |
Sender: | "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com> |
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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |