X-Recipient: archive-cygwin AT delorie DOT com X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org E6DDC385701F Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=SystematicSw.ab.ca Authentication-Results: sourceware.org; spf=none smtp.mailfrom=systematicsw.ab.ca X-Authority-Analysis: v=2.4 cv=B4F8bMhM c=1 sm=1 tr=0 ts=60d0f164 a=T+ovY1NZ+FAi/xYICV7Bgg==:117 a=T+ovY1NZ+FAi/xYICV7Bgg==:17 a=IkcTkHD0fZMA:10 a=94nOnFI1EgyDtX4ev68A:9 a=QEXdDO2ut3YA:10 To: cygwin AT cygwin DOT com References: <4ac85d41-94f5-26f6-eb6a-75754d71cdb1 AT towo DOT net> From: Brian Inglis Organization: Systematic Software Subject: Re: Custom locales seem not to work Message-ID: <51ab9bc2-5df0-e7f9-eb20-e56fe2f6b3fd@SystematicSw.ab.ca> Date: Mon, 21 Jun 2021 14:06:59 -0600 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: <4ac85d41-94f5-26f6-eb6a-75754d71cdb1@towo.net> Content-Language: en-CA X-CMAE-Envelope: MS4xfLdJduiyRU6EVdR5yz/vL43rheBOvYNVU0VckDIjvVvpj2cTl7SQlb8EXoi4FBA7mmzbbsv4pUD/2mdawp5rNaWtxhzFIXRFLyZMQHBv7JNfo2nzeLaU xminEz0hrTSBz3eDNscwi8gWOFbXcWsmVzoguYZQhjo7F/jOldQZAbl44MulA+PdvEEZcMWNnPU6JDVB7wEGzeRoogqBMo6N7b4= X-Spam-Status: No, score=-1159.7 required=5.0 tests=BAYES_00, BODY_8BITS, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A, RCVD_IN_BARRACUDACENTRAL, 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 AT cygwin DOT com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: cygwin AT cygwin DOT com Content-Type: text/plain; charset="utf-8"; Format="flowed" Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 15LK7KcZ014429 On 2021-06-21 12:21, Thomas Wolff wrote: > 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. If the OP is using a Windows supplemental or replacement locale installation, rather than just customizing the locale information, could they please export the LDML as UTF8 text and attach it to their post. If the locale identifiers are sufficiently non-standard, they would require a custom mapping in Cygwin. -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to some readers as it contains too much technical detail. Reader discretion is advised. [Data in binary units and prefixes, physical quantities in SI.] -- 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