X-Recipient: archive-cygwin@delorie.com
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org A1C86385842B
Authentication-Results: sourceware.org;
 dmarc=pass (p=none dis=none) header.from=gmail.com
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=message-id:date:mime-version:user-agent:content-language:to:from
 :subject:content-transfer-encoding;
 bh=1bqQuHtaESmpE6Sizul/BeCSy4O1dS/XJI5uNGwAsfw=;
 b=qui4q6KobYONH6FpQDtq72UO/bH8YKh6flc3wtS0sPLEeK8q+Ljd8JWyXJ8AMBAHHM
 VppMjcZ+0fgubWul4wL7uBU8tf+BzoWxmhi30kYdMzndH5O50Ec9R7tdHnN/NoocBfIQ
 h8brpurMM980h4sA+lQoZX15I3bg5KPEx+/1RxiN0iFwWjO1b5RvRQeGGCx59wGbcx1c
 g02EorVIuRBhy4083lPvyJz266gYsr89ZTe/wsb9cB55yX3xSF428fA4LBwbbkcWPP74
 6OHYjSxc+zLRnWajgKt9NyU1uHvzXk5S9QamrAjFmQ3uCTqahpsXcM0IKh2h1BslVzJz
 KPiQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:message-id:date:mime-version:user-agent
 :content-language:to:from:subject:content-transfer-encoding;
 bh=1bqQuHtaESmpE6Sizul/BeCSy4O1dS/XJI5uNGwAsfw=;
 b=W/oedx5EaJLWTe18lrZdfeEXdGOpPa6/jJsOs0blsaAsaoe8SH94MCxF4xkMaG1tWu
 hLGvaPBLrq6ilvrzb2+AVuI4NSyJ4EHYIMut/iCBvJpBzaG8WBvMbTAVzgkdblOMBf4C
 pY1g/hnMMkdmdJGo03rd/LBG5LBYjBEy47KkwM9Nyy4GmtGCbsT5zH7wawgGtIessJBD
 jxLzAtWMHA36TCaTQIpQP6Hdskzg0RiQdOyPPU/Weqk2n/Qi6FNczl9msmBXF7txrLMa
 wLK5v6HF1HLq2qZ7X7Ao+ECeQFuhQEnCCLU9BedKu8gkXnFG9PMPHkm164RfKFhG+8tv
 Xy2w==
X-Gm-Message-State: AOAM530AIurkZyuqIz3Muznqye7Yf+21VGLGOgG9VrM1qaZKarz+qDfs
 U7AnCFo0LBIh6L1m4ENRVfwxgR2NrOsk83Ty
X-Google-Smtp-Source: ABdhPJwZUmkXBG8Xt98pMPY69eidMuAwjoFSjE4P9Tpd8kLw4FB/MQFraN1f1DhSeAqQ7BZ0tYVVPw==
X-Received: by 2002:a2e:bc1e:0:b0:249:896f:6dbf with SMTP id
 b30-20020a2ebc1e000000b00249896f6dbfmr8103836ljf.180.1649320710620; 
 Thu, 07 Apr 2022 01:38:30 -0700 (PDT)
Message-ID: <6ccb7fc3-3a1b-6e19-c802-49accd5e9444@gmail.com>
Date: Thu, 7 Apr 2022 11:38:28 +0300
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
 Thunderbird/91.7.0
Content-Language: en-US
To: cygwin@cygwin.com
From: Ilya Basin <basinilya@gmail.com>
Subject: windows netsh/route output translated to English in mintty
X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00, DKIM_SIGNED,
 DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,
 SPF_HELO_NONE, SPF_PASS, TXREP,
 T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
 server2.sourceware.org
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>

Hi. One of my PCs still has Windows 7 and I noticed that when I run 
netsh interface ipv4 show route
or
route print

In Mintty, the output is translated to English and when I run these commands from Cygwin started in a Windows console the output is in the same language as the OS. Does Cygwin do that?

Secondly, it doesn't seem to be affected by TERM= LC_ALL= , redirections or even setsid.

And I also noticed that when the "Interface List" section of "route print" is translated to English the national interface names containing "Microsoft ISATAP" are omitted completely, including the newlines so the output looks like this:

    ...
      1...........................Software Loopback Interface 1
     12...00 00 00 00 00 00 00 e0  14...00 00 00 00 00 00 00 e0  16...00 00 00 00 00 00 00 e0  18...00 00 00 00 00 00 00 e0  20...00 00 00 00 00 00 00 e0  26...00 00 00 00 00 00 00 e0 ===========================================================================
    
    IPv4 Route Table
    ...

Does anybody know the reason?

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