Gnucash 2.0.2 and 2.2.1 looses transactions if the file contains special characters

Stephane Carrez stcarrez at nerim.fr
Sun Dec 23 06:26:42 EST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!

In February, I reported this issue on Gnucash 2.0.2.  See:

http://lists.gnucash.org/pipermail/gnucash-user/2007-February/019333.html

I am now using Gnucash 2.2.1 and there is still the same issue.
Here is how I reproduced it:

- - In an OFX file (that came from by bank), I had the special character '°'
  (in a <REFNUM>)
- - The OFX file was imported and all the transactions were Ok.
- - When the .cash file is saved, it contains this line:

   <trn:num>02140° XXXXXXXXXXXXXXXXXXXXX</trn:num>

  The special character appears after the '02140' and it is not a valid UTF-8
  character.
- - Later when gnucash tries to load the file, it fails to read transaction
  There is no error message.  No warning.   Many other transactions are lost
  (the XML parser probably stops to read the rest of the file)

Last time, it happend with the XML element <act:description>.

I hope this information will help you fix this issue.

Thanks,

  Stephane

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFHbkXyNyQxO2LzKT0RAik8AKC/dHl5IQfYMeA8mj1VbGzNzwbCrACeMTz/
G+laTQm5ABmwNj9bFbER2jo=
=O1W5
-----END PGP SIGNATURE-----


More information about the gnucash-user mailing list