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 96C7E3877415
Authentication-Results: sourceware.org;
 dmarc=none (p=none dis=none) header.from=towo.net
Authentication-Results: sourceware.org; spf=none smtp.mailfrom=towo.net
Subject: Re: Custom locales seem not to work
To: cygwin@cygwin.com
References: <PA4PR01MB7599EA3D08DA59B28B72C700A90A9@PA4PR01MB7599.eurprd01.prod.exchangelabs.com>
From: Thomas Wolff <towo@towo.net>
Message-ID: <4ac85d41-94f5-26f6-eb6a-75754d71cdb1@towo.net>
Date: Mon, 21 Jun 2021 20:21:46 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
 Thunderbird/78.11.0
MIME-Version: 1.0
In-Reply-To: <PA4PR01MB7599EA3D08DA59B28B72C700A90A9@PA4PR01MB7599.eurprd01.prod.exchangelabs.com>
X-Provags-ID: V03:K1:lR42u3mX+4jpuBc02szSZ/lMdj360g01tf3x3VhZyPV6irjnnqd
 YUiqA7sIH8mfHoXy8dXlVr+q3r/vdD3bieNCjlVDruUBA4or/c+SGIERzttbbgcgWC7d1wT
 23ItA4wPNtHmwN4UkLnUcA9gE/TYRRayP74AKN7pfj2AN34FPRmJJ9wFrx/jwfG2Wk3nzUH
 Iacv/s300P9TokM5W5XYA==
X-UI-Out-Filterresults: notjunk:1;V03:K0:NG6diazlbZU=:jqxRF7Qopn5OIlQN9ccvsi
 EJSoyxOys9yLyaQD1yYsASVecO+WDQxOBKZcYm5h5K0yN2z1QNBQx9PL6F3P4M51MQtTIer0Z
 0pvwcS01NZLZ77KHm9CIPMfPQVU7BQUMKneanJMhcp7fPBeTCJnsZ/k72PT02JeSCgjXdJE8q
 RJEFNUBpajJUg90rQwHJ6iCz8yQLAmc1PZK1hjddoUgW94Wvc/ZmTFR6qk1x7hbBDvm9FAgxd
 byMhskCn+utw/PjC/ukq0rxgcw6P7zICDF2a6dNFbWKqedWIliRyo3JQ6zHDCXdnRNj1oDV78
 E3Z5LjwHunkpGkSf1rTn5zpmZl3U8lpvFmlfoSMdjZba+H0l0ECYvIeNEJ0b97tnmjfc/ufmo
 iICYUaRL+HiWbNUdK98ATY7F1QrZYuiS40A8zkP3Obt5CRdvwMH28Op78H41X7rlzNBCMhMBf
 AJE+Qf+dRFp4vtJRruETqLODEZ5ONPGeOPQfUR5BjBM+ETMLOB9deIcP3Xn1QzYfbGJgY4erR
 St1V7FPr+Orn4w/A95qMsw=
X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_00, BODY_8BITS,
 KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A, SPF_HELO_NONE,
 SPF_NONE, TXREP autolearn=no autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
 server2.sourceware.org
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
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="utf-8"; Format="flowed"
Errors-To: cygwin-bounces+archive-cygwin=delorie.com@cygwin.com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 15LIM6Jq001363


Am 21.06.2021 um 15:23 schrieb Алекса -скрыто- via Cygwin:
> I noticed that Cygwin-linked applications fail to use the proper language code from a Windows custom locale, and revert to C instead. Is that a bug?
If you define a Windows custom locale, how would you expect it to be 
referred to from cygwin, i.e. which POSIX locale name should be used to 
be mapped to it and how should this mapping be magically deployed into 
cygwin?
I don't think such a mechanism can easily be designed or implemented.
Thomas

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

