X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 696593858C66 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1678767645; bh=KtFLiDjVe25Nr2FegJfYSp7MzZrPw9OA4R3KPXTNQGI=; h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=OliXxDBxfKuJ1Vpg99dnQL4Ev7LAxPSywEGjg7fRWPdAY88FaT2yz+zMAsvEeaE3f 6q/ZsTfKQbOct4swBudmMxe2fntap+sSEatimye7tAiB6+zMLGmhstR9+oC0nqzGHq qV3r6ufZuz1uKk/J2agppMMox1jv18I5Vtci9WZY= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org AE2C83858D32 X-Authority-Analysis: v=2.4 cv=XZqaca15 c=1 sm=1 tr=0 ts=640ff5f7 a=DxHlV3/gbUaP7LOF0QAmaA==:117 a=DxHlV3/gbUaP7LOF0QAmaA==:17 a=IkcTkHD0fZMA:10 a=7392p9bmP1SmsWvOWsUA:9 a=QEXdDO2ut3YA:10 Message-ID: Date: Mon, 13 Mar 2023 22:20:06 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: [ERROR] Locale Monetary Symbol Prints Wrongly on Windows : Cygwin Content-Language: en-CA To: cygwin AT cygwin DOT com References: Organization: Inglis In-Reply-To: X-CMAE-Envelope: MS4xfNkaL8i0k0wB2hi8Xe51fPz3DdqYSBUhmGJ7b2bhMfv/Y5nKwEaElmNdo915632RmEeQ5w2QE0Zpv3de0xgHKak9ghW6AnP2sEUaiTSm8MSQluPy51At 2Q/zpV/WHwfOa8U9Vn2q/E1P/3gZ32YKkzJZrHVKYg60MBA10kWJgWJMlGqHnln3HIOTgdK43sEOeA== X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) 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: , From: Brian Inglis via Cygwin Reply-To: cygwin AT cygwin DOT com Cc: Brian Inglis 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 32E4L7j2025127 On 2023-03-13 21:44, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin wrote: > Please pay close attention to how the command was shown to you, including the use of the whitespace: > >>> $ LC_MONETARY="en_ZM.utf-8" locale -ck LC_MONETARY > >> In the terminal, when I use $LC_MONETARY = "en_ZM.utf-8" locale -ck >> LC_MONETARY >> Cygwin replies "-bash: LC_MONETARY: command not found" > > The dollar sign in there was the shell prompt; not something you have to type. > > So, this is basically what and how you should enter it: > > LC_MONETARY="en_ZM.utf-8" locale -ck LC_MONETARY Try it using a known good locale first, then that locale. Shut down all Cygwin processes. Run setup-x86_64: Select Packages/View Full/Search cygwin/column New dropdown/bottom entry/3.5.0-0.231.g93f70d7849b8, same for -devel and -doc if desired, then Search Clear, reset View Pending, then Next, ... Run your terminal, redo the commands above, and you should see correct data. -- Take care. Thanks, Brian Inglis Calgary, Alberta, Canada La perfection est atteinte Perfection is achieved non pas lorsqu'il n'y a plus rien à ajouter not when there is no more to add mais lorsqu'il n'y a plus rien à retirer but when there is no more to cut -- Antoine de Saint-Exupéry -- 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