Cannot handle OFX file with UTF-8 encoding
Bug #276379 reported by
Toshi Fukui
This bug report is a duplicate of:
Bug #629996: GnuCash can't handle UTF-8 encoded OFX file because of libofx bug.
Edit
Remove
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GnuCash |
New
|
Undecided
|
Unassigned | ||
LibOFX |
New
|
Undecided
|
Unassigned | ||
libofx (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
Bug Description
I found Gnucash (2.2.4.-1ubuntu1) cannot import OFX files with UTF-8 wide characters, properly.
I checked the source code and found the cause was in libofx package (1:0.9.0-2ubuntu1).
Please find the attachment, my patch.
Wide characters will be imported properly, after this patch.
This fix works, but it's not perfect, yet.
I haven't eliminated OpenSP parser's error messages, yet.
LibOFX ERROR: OpenSP parser: otherError (misc parse error):
/tmp/libofxtmpd
To post a comment you must log in.
Hi,
The patch works for me. The problem seems to be that a newline is added to s_buffer.
Here is another patch where a newline is not added at all.
/Henrik