-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OFX (v1.x) headers #37
Comments
That's a good idea. Do you have a link to somewhere that documents these OFX headers as standard/common? |
It appears the ofx.net site isn't responding, but the specification of the 1.02 version is available in archive.org in this zip file: https://web.archive.org/web/20170620010052/http://www.ofx.net:80/downloads/ofx1.0.2spec.zip, in the file That lists the following headers:
There's also an example in from the |
The only potential issue I foresee is with the |
Sounds good - to clarify @reubano, there's a |
1252 implies |
It all around seems a bit of a mess 😀
(source) What do you think about a pair of |
Of all those, it seems like wasabe has the most sane reasoning. I think what you suggest is good (taking into account the link above). There should also be some mapping (encoding -> charset) so that if a different output encoding is selected, the appropriate headers will automagically get set. Edit: I also think you may have it backwards as |
Hey guys, I happened to stumble upon this project and this discussion. As it happens, I've spent way too much time combing through the OFX specs while working on ofxtools. I'd be glad to help if I can. If I understand correctly, the scope of your work here is to generate OFX for importing into various financial management applications (e.g. GnuCash). There are a few good reasons to prefer generating OFXv2 (i.e. XML) rather than OFXv1 (i.e. SGML) - character encodings being one of them. If you want to generate OFXv1, you should really prefer to adhere to the OFXv1.6 spec. As Jerry notes in the You should always include OFX headers for You can look at ofxtools.header for some logic. Indeed, you might be able to make all this easier to develop & maintain by just using I find it more pleasant to generate OFX like this:
|
P.S. relevant to issues like #17 - |
Thanks for all of the work on this project.
Looking at the OFX output, it appears that the
DATA:OFXSGML
andENCODING:UTF-8
headers are added. What do you think of adding other common OFX headers such as:The text was updated successfully, but these errors were encountered: