Problems with accounts in gnucash/accounts

Christian Stimming stimming at tuhh.de
Fri Oct 21 03:57:39 EDT 2005


Neil Williams schrieb:
> On Thursday 20 October 2005 9:52 pm, Didier Vidal wrote:
> 
>>The accounts used by the gnucash druid are broken in many locales,
>>including fr_FR, fr_FR.UTF-8, de_DE.UTF-8, de_DE...
>>
>>The problem is that gnucash expects them to be in UTF-8.
> 
> AFAICT, gnucash still makes no assumptions about the encoding or expects any 
> particular encoding in the file.

No. Gnucash has implicit assumptions about the encoding, and this is the 
problem in the first place. In 1-8-branch, gnucash (i.e. libxml1) 
assumes the file encoding to be identical to the locale's default 
encoding. In gnome2-branch, gnucash (i.e. libxml2) assumes utf8 file 
encoding.

The correct fix is to stop assuming the encoding and instead specifying 
it explicitly, as proposed eventually by Didier in the -patches mail.

> What about converting to fr_FR or de_DE ?
> (and putting that in the encoding as fr-fr and de-de respectively).

NEIL! encoding != locale !!! Those two are two separate issues. Please 
don't confuse this topic more than necessary... ;-)

Christian


More information about the gnucash-devel mailing list