setlocale(LC_ALL, "") in gnucash-1.7 missing
Derek Atkins
warlord@MIT.EDU
03 Oct 2002 11:04:23 -0400
Check src/scm/main.scm around line 365:
(gnc:setup-gettext)
(setlocale LC_ALL "")
So it _IS_ being called...
-derek
Christian Stimming <stimming@tuhh.de> writes:
> In CVS's gnucash, the locale ist not set. This means that for me, gnucash-1.7
> doesn't recognize my non-C locale, and assumes things like USD as standard
> currency and US number format. This is a bug and should be fixed.
>
> What is missing is something like setlocale(LC_ALL, ""). In gnucash-1.6, this
> happened in function gnc_main in src/guile/gnucash.c. Due to the transition
> to guile modules, we got rid of that function, but I guess people just forgot
> about this setlocale call. Where would be the right place to add it again? To
> see for yourself that it's missing, compare the output of "rgrep -R '*.c'
> setlocale *" from gnucash-1.6 to CVS-gnucash.
>
> Christian
>
> _______________________________________________
> gnucash-devel mailing list
> gnucash-devel@lists.gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
warlord@MIT.EDU PGP key available