Skip to content

GNUChash cannot detect encoding in new version of OFX file (my comment in issue #16)  #28

@maxim-ilinov

Description

@maxim-ilinov

Hi, recently I reported incorrect encoding detection problem upon OFX import still exists (my commnent in issue #16), seems nobody noticed...

So I repost it here:

Hi!
Today I've made apk from latest develop and tried export OFX and import.
Suppose fix didn't resolve problem... GnuCash cannot understand encoding (version 2.4.11 too).

I dug more about OFX file format and found out this:

Old version of OFX header was a set of parameters as I wrote in previous post including "ENCODING:UTF-8",
new version has only several required params and another syntax (that one you use):

And parameter ENCODING="UTF-8" hasn't to be there and should be ignored by software.
So, latest changes should be rolled back :(. Sorry.

Idea is xml header () already has encoding information.

Only way I can make Gnucash show correct encoding is to add old OFX version header part "ENCODING:UTF-8" in the very beginning of OFX.

It seems problem is in Gnucash, I'll try inform developers.

But only as walk-around is it possible add old styte header in OFX?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions