Hi,

the solution was simpler than I expected, and obviously related to my own
locale settings.
In Windows control panel I changed the locale settings for currency from:

Currency symbol = "L."
Decimal symbol = ""
Digit grouping symbol = "."

to:

Currency symbol = "€"
Decimal symbol = ","
Digit grouping symbol = "."

and the problem disappeared.
Of course, it looks like the locale settings actually matter even if one
selects the currency to be different from the locale in the preferences,
which might not be the desired behaviour.

Thank you for directing me to the right place (Control Panel, Regional
Settings)!

Davide

PS. One more question/doubt: why is there an option to "Enable euro support"
in the general preferences? Isn't euro supopdsed to be just one more
currency?

On 6/19/07, Christian Stimming <[EMAIL PROTECTED]> wrote:
>
> Quoting Andreas Köhler <[EMAIL PROTECTED]>:
> >> - General -
> >> Locale (location) = Italian (Italy)
> >>
> >> - Currency -
> >> Currency symbol = "L." (as in Italian Lira, why is it still there
> >> after all these years!! :-( )
> >>
> >> I see there is no decimal symbol in the currency section, which makes
> >> sense for the ITL admitted no decimals (being worth almost
> >> nothing,,,)
> >
> > I do not have access to a Windows 2000 machine, so may you please
> > continue to try to fix this and post your results here?  Keep in mind
> > that 2000 is well before we switched to the Euro :-)
>
> But as we're already talking about workarounds: Why don't we add an
> additional check in gnc_locale_default_currency_nodefault():
>
> if (gnc_is_euro_currency (currency))
>    currency = gnc_get_euro();
>
> Given that this only overrides the locale-inferred currency but not
> one that has been set through the user, I think this would be
> reasonable enough to be used.
>
> Christian
>
_______________________________________________
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to