"Philip J. Hollenback" <[EMAIL PROTECTED]> writes:
> I suppose this has been discussed before, but has any thought been
> given to making the gnucash file format text-based?
Yes. I'm working on outputting a text format, but at least initially
it's only going to be an export format (though it will be trivial to
change that to your default eventually, and it'll also be easy to get
GnuCash to save both formats from your ~/.gnucash/config.user).
I'm going to use guile and have it print the data as scheme forms.
This is relatively trivial and handles all the string escaping, etc
for us, so I don't have to care about things like fixed length
strings, or nulls/newlines/tabs embedded in the user's strings.
Of course the one drawback to the text format is that it may be slower
to load, but unless your data set is huge, I'm suspecting that the
difference won't be important.
> I just feel a little scared with the binary format used now. How do I
> know exactly what info is in the file? What if it gets corrupted?
I agree.
--
Rob Browning <[EMAIL PROTECTED]> PGP=E80E0D04F521A094 532B97F5D64E3930
----- %< -------------------------------------------- >% ------
The GnuCash / X-Accountant Mailing List
To unsubscribe, send mail to [EMAIL PROTECTED] and
put "unsubscribe gnucash-devel [EMAIL PROTECTED]" in the body