Fix fr_FR accounts

Didier Vidal didier-devel at 9online.fr
Thu Oct 20 17:41:30 EDT 2005


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: accounts.fr_FR.patch
Type: text/x-patch
Size: 8696 bytes
Desc: not available
Url : http://lists.gnucash.org/pipermail/gnucash-patches/attachments/20051020/ea6740fc/accounts.fr_FR.bin


More information about the gnucash-patches mailing list