Bug 475293

Summary: UTF-8 OFX cannot be imported
Product: [Applications] skrooge Reporter: vicnet <vo.publique>
Component: generalAssignee: Stephane MANKOWSKI <stephane>
Status: RESOLVED NOT A BUG    
Severity: normal    
Priority: NOR    
Version First Reported In: 2.27.0   
Target Milestone: 25.1.0   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Exemple of ofx file that could not be imported

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...