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

Derek Atkins warlord at MIT.EDU
Sun Dec 23 10:57:50 EST 2007


Did you import this transaction using 2.2.1?  The importer should
ignore any non-UTF8 characters and remove them from the strings.

-derek

Quoting Stephane Carrez <stcarrez at nerim.fr>:

> -----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-----
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.
>



-- 
       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-user mailing list