Skip to content

Parse error with non-ascii characters #60

@clawoflight

Description

@clawoflight

libofx stopped working for me with non-ascii characters.
Example error messages:

LibOFX ERROR: OpenSP parser: otherError (misc parse error):
/tmp/libofxtmpoEFTsQ:48:39:E: non SGML character number 195
(Above message occurred on Line 48, Column 40)
LibOFX ERROR: OpenSP parser: otherError (misc parse error):
/tmp/libofxtmpoEFTsQ:48:40:E: non SGML character number 164
(Above message occurred on Line 48, Column 41)

This can be reproduced by using ofxdump or by attempting to import the file in Skrooge, which I use for my finances.
I assume gnucash and kmymoney will have the same issue.

My distro is Arch Linux, where this started happening in ~March 2022; identical files could be imported previously.
The AppImage for skrooge also seems to produce this issue, as does my wife's OpenSuse Tumbleweed system.

Example file with .txt extension so github allows it: ofx-broken.ofx.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions