AUDIT: r17063 - gnucash/trunk/src - Bug #396665: When any QIF file content is found that is not encoded in UTF-8,
Charles Day
cedayiv at cvs.gnucash.org
Wed Apr 2 14:10:36 EDT 2008
Author: cedayiv
Date: 2008-04-02 14:10:35 -0400 (Wed, 02 Apr 2008)
New Revision: 17063
Trac: http://svn.gnucash.org/trac/changeset/17063
Modified:
gnucash/trunk/src/core-utils/core-utils.i
gnucash/trunk/src/core-utils/core-utils.scm
gnucash/trunk/src/core-utils/gnc-glib-utils.c
gnucash/trunk/src/core-utils/gnc-glib-utils.h
gnucash/trunk/src/import-export/qif-import/qif-file.scm
Log:
Bug #396665: When any QIF file content is found that is not encoded in UTF-8,
the importer now first attempts to convert it to UTF-8 according to the locale.
If this fails, the offending bytes will be removed from the string as usual.
In addition, the user will now be informed of either of these actions via a
pop-up warning in the GUI. Each occurrence will also be logged.
This changeset also exposes the previously static GnuCash-specific UTF-8
validation C function, gnc_utf8_validate(), and creates a corresponding
Scheme predicate named "gnc-utf8?" for validating strings in this manner.
BP
More information about the gnucash-patches
mailing list