Skip to content
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

Bug with encoding for ETrade #171

Open
emin63 opened this issue Feb 26, 2023 · 0 comments
Open

Bug with encoding for ETrade #171

emin63 opened this issue Feb 26, 2023 · 0 comments

Comments

@emin63
Copy link

emin63 commented Feb 26, 2023

Thanks again for this great software.

ETrade gives me an OFX file which has a line like

ENCODING:USASCII
CHARSET:NONE

which triggers a bug in ofxparse.py at https://github.com/jseutter/ofxparse/blob/master/ofxparse/ofxparse.py#L128.

I suggest adding something like

    elif cp == 'NONE':
        encoding = 'cp1252'

before the else clause in that area.

Let me know if you would prefer I make a pull request for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant