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

Reply via email to