[ERROR] Locale Monetary Symbol Prints Wrongly on Windows : Cygwin

Brian Inglis Brian.Inglis@Shaw.ca
Tue Mar 14 04:20:06 GMT 2023

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

More information about the Cygwin mailing list