Gnucash and utf-8 : summary

Derek Atkins warlord at MIT.EDU
Sun Sep 25 16:53:53 EDT 2005

Quoting Didier Vidal <didier-devel at>:


Good to hear the tests worked.  That bodes well.

> But maybe one could add a unit test in gnucash that opens a gnucash file
> with non ascii parameters, and checks that the objects are built
> properly. The test could even save the file and read it again, to check
> that there is no alteration in the loop.

Unfortunately this wont work..  There's no guarantee of ordering during 
save. It's quite possible that a Load/Save sequence (without any other 
changes to the
data) will NOT necessarily produce the exact same bit-for-bit version of the
datafile.  The objects could have a different order within the XML 
document. So, this kind of comparison can't be done (easily).

> Didier.


       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL:    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available

More information about the gnucash-devel mailing list