GNOME Bugzilla – Bug 332878
DBF import creates non-UTF8 strings
Last modified: 2006-03-02 02:44:19 UTC
Gnumeric just crashed for me on searching a dBase dbf table for a given search string. In case it matters, there is an associated dbt file as well. Don't know, if it is used at all here. gnumeric 1.6.2, GNOME 1.13.91+ Including the crashing top-most thread only. Backtrace was generated from '/opt/gnome-2.13/bin/gnumeric' Using host libthread_db library "/lib/tls/libthread_db.so.1". [Thread debugging using libthread_db enabled] [New Thread -1228130624 (LWP 9910)] 0xffffe410 in ?? ()
+ Trace 66577
Oh, before anyone asks: No, I can not attach this database. But I may be able to come up with a stripped down test case, if required and I find the time to do so... ;)
This looks like a search/replace, not a search. Right? The cell that contains problems contains "Lindenstra[ss]e 3 A". It would be helpful if you could create a dbf file with just that in it and attach it here. Current guessesw as to the cause: 1. dbf input creates non-UTF8 strings. -or- 2. A bug in libpcre.
Also, if you run from the command line, do you get any error messages?
Never mind, this is surely an import issue and I see problems with files like http://www.preagro.de/Ergebnisse/codepage/Gemarkungen_after.dbf Fixed in cvs.
May I ask which release this will be in? I don't have a lot of time to create a test case with stripped data, but I sure can easily test this with the same data again. FWIW, since this database originally was created years ago using Win98 or maybe even the ancient DOS app, char encoding issues seem very likely. :)
It'll be in 1.6.3 if we ever make one. It'll be in 1.7.0 [unstable].