Testing locale change from gnucash 1.8 to gnucash-g2

Derek Atkins warlord at MIT.EDU
Sat Sep 24 15:30:45 EDT 2005

Quoting Neil Williams <linux at codehelp.co.uk>:

> Not hard - the GnuCash file backend doesn't use libxml2 for this part of the
> file so it's a one line change in write_v2_header func in
> src/backend/file/io-gncxml-v2.c. I'll put it into my next commit:
> -    fprintf(out, "<?xml version=\"1.0\"?>\n");
> +    fprintf(out, "<?xml version=\"1.0\" encoding="UTF-8"?>\n");
> I need to do it in QSF too where it will be done via libxml2.

Shouldn't this only be done IFF the datafile is actually in UTF-8?  I mean, if
the datafile is still iso-8859-1 wont this cause problems?


       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 at MIT.EDU                        PGP key available

More information about the gnucash-devel mailing list