Problems trying to get currency separator correct for CAD

Derek Atkins derek at ihtfp.com
Sat Jul 23 09:43:26 EDT 2011


On Sat, July 23, 2011 7:05 am, "Vasyĺ V. Vercynśkyj" wrote:
> 22.07.2011 21:16, John Ralls wrote:
> […]
>>
>> If the values aren't what you expect, then your beef is with whoever
>> maintains the locales package either at Canonical or Debian. If the
>> values are what you expect, but gnucash is getting it wrong, then please
>> file a bug against Gnucash.
>>
> As it turned out ru_RU locale has a problem:
>
> $ LANG=ru_RU.UTF-8 locale mon_decimal_point decimal_point thousands_sep
> mon_thousands_sep
> .
> ,
> nbsp
> nbsp
>
> But why Gnucash don't turn *comma* (inserted from numeric keyboard) into
> *period* like it does in another locales (e.g. in fr_FR *period* is
> turned into *comma*)? Is it also relates to locale bug?

Yep.

The locale is telling GnuCash that '.' is the decimal separator and ',' is
the thousands separator.  Input == Output.  So it's not going to swap them
on data entry.  GnuCash is behaving exactly as the locale says it should
behave.

> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.

-derek

-- 
       Derek Atkins                 617-623-3745
       derek at ihtfp.com             www.ihtfp.com
       Computer and Internet Security Consultant



More information about the gnucash-user mailing list