Fix fr_FR accounts

David Hampton hampton-gnucash at rainbolthampton.net
Thu Oct 20 18:25:05 EDT 2005


On Thu, 2005-10-20 at 23:41 +0200, Didier Vidal wrote:
> You must specify the file's codeset, or libxml2 will fail to read the
> accounts.
> 
> To know the codeset of a locale:
> LANG=<dirName> locale charmap
> 
> Then, you can apply [sorry for the linewrap / I have to learn how to
> configure my mailer agent.... (evolution)] - replace ISO-8859-1 by the
> appropriate charmap
> 
> for i in *-xea 
> do mv $i $i.iso
> cat $i.iso | sed  's/<?xml version="1.0"?>/<?xml version="1.0"
> encoding="ISO-8859-1"?>/' > $i
> done
> 
> then
> make install
> 
> test the druid:
> 
> LANG=<dirName> ./gnucash
> 
> I recommend to apply the fix to all accounts directories

I believe this is the wrong approach.  In g2 we should be shipping utf-8
encoded versions of these account trees, not older iso-8859-x encodings
that require converting upon each use.

David




More information about the gnucash-patches mailing list