Bug 475293 - UTF-8 OFX cannot be imported
Summary: UTF-8 OFX cannot be imported
Status: RESOLVED NOT A BUG
Alias: None
Product: skrooge
Classification: Applications
Component: general (other bugs)
Version First Reported In: 2.27.0
Platform: Kubuntu Linux
: NOR normal
Target Milestone: 25.1.0
Assignee: Stephane MANKOWSKI
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-06 18:12 UTC by vicnet
Modified: 2023-10-08 14:36 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Exemple of ofx file that could not be imported (1.47 KB, text/plain)
2023-10-06 18:12 UTC, vicnet
Details

Note You need to log in before you can comment on or make changes to this bug.
Description vicnet 2023-10-06 18:12:18 UTC
Created attachment 162128 [details]
Exemple of ofx file that could not be imported

I export an operations file from my bank then convert to ofx and finally import to skrooge.
With the previous version of skrooge (from repo  from Kubuntu 20.04), the import was OK.
I upgrade my Kubuntu version, and then upgrade Skrooge to 2.27.0.

Now the ofx files generated by my script could not be imported anymore.

There are no change in my script. It produce allways the same file format and encoding.

After some tests, I remark that the problem occurs when there is an accent in the ofx file.

I have attached an anonymous ofx file that could be imported.

If I remove the accents, it is ok.
Comment 1 Stephane MANKOWSKI 2023-10-06 22:02:43 UTC
Hi,

I'm able to import this file without issue.

Your issue could be due to your libofx version.

You can use ofxdump to check if libofx is able to parse your file.
Comment 2 vicnet 2023-10-08 14:36:36 UTC
Exact libofx 0.10.3 in Kubuntu 22.04 is buggy.
I install 0.10.15 (from Kubuntu 23.04) and the import is ok now.
Thanks for the hint to search the pb on libofx...