After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 100845 - OFX import cannot import UTF-8
OFX import cannot import UTF-8
Status: VERIFIED OBSOLETE
Product: GnuCash
Classification: Other
Component: Import - OFX
git-master
Other Linux
: Normal normal
: ---
Assigned To: David Hampton
Benoit Grégoire
Depends on:
Blocks: 338296
 
 
Reported: 2002-12-10 14:27 UTC by reinke.bonte
Modified: 2018-06-29 20:23 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description reinke.bonte 2002-12-10 14:27:58 UTC
When I import an ofx file from my bank here in Japan which is encoded in
UTF-8 the importer shows me all transactions but the characters are not
readable when I open it in an EUC-JP locale. When I check all and click
import, the dialogue closes without a warning, but nothing is imported.

This was written to standard error:

Debug: gnc_import_select_account: Default commodity received: (null)
Debug: gnc_import_select_account: Default account type received: 
Debug: gnc_import_select_account: Looking for account with online_id: 0005
034 0881745
WRITEME: gnc_import_select_account() Here we should check if account type
is compatible, currency matches, etc.
Debug: gnc_import_select_account: Return value: 0x837ea88, account
name:Savings Account

Error: ofx_proc_transaction_cb: WRITEME: Gnucash ofx_proc_transaction():Add
PAYEE and ADRESS here once supported by libofx!

Debug: ofx_proc_transaction_cb: Currency from libofx: JPY
Debug: ofx_proc_transaction_cb: 0 splits sent to the importer gui
Debug: refresh_clist_row: Begin

--------------

What else information can I provide.
Comment 1 Benoit Grégoire 2002-12-17 02:27:07 UTC
I would need a sample file, I've never seen OFX files containing
multibyte characters yet.  This may or may not be fixable, because of
a OpenSP interface design error.

Comment 2 Vincent Noel 2004-07-22 16:25:44 UTC
Can the reporter attach a sample file ? Otherwise this bug should be closed.
Comment 3 reinke.bonte 2004-07-23 00:44:07 UTC
I had sent a sample file to Benoit 2 years ago. I don't want my private bank
data on the web, and I don't understand OFX well enough to create a file by hand.

Unfortunately, I'm not in a position to test again, because I don't have the set
up on my PC here. I suggest that Benoit closes the bug, if he has fixed it, or I
will close it once I can test again.
Comment 4 Vincent Noel 2004-07-23 14:20:51 UTC
Ok, thanks for following this !
I guess it's Benoit's call now.
Comment 5 Benoit Grégoire 2004-07-23 19:05:16 UTC
UTF-8 support is a little problematic in LibOfx because of the lack of support 
for it in standard C++.  However, as it IS supported by OpenSP (but not in the 
generic interface).  It should at least import corrupt caracters and not 
crast.  I think the bug should stay open. 
Comment 6 fast suzuki 2005-05-23 01:27:12 UTC
Are these dups of this bug? Sinc ethey are all Unicode related...

http://bugzilla.gnome.org/show_bug.cgi?id=105345
http://bugzilla.gnome.org/show_bug.cgi?id=305121
---
Comment 7 reinke.bonte 2005-06-02 04:56:28 UTC
To comment #6:
No, these are not duplicates, because this bug is a libofx problem and not
related to the user interface.
Comment 8 David Hampton 2006-06-14 04:10:44 UTC
Importing utf8 files works correctly for me in the 1.9.x version of gnucash.  As of r14361 (and 1.9.8) gnucash will strip all non-utf8 characters from imported files.  See bug 344841 for automatic conversion of imported files to utf8.
Comment 9 John Ralls 2018-06-29 20:23:05 UTC
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=100845. Please update any external references or bookmarks.