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

Unable to parse invoice #233

Closed
anujarout opened this issue Jun 17, 2019 · 1 comment
Closed

Unable to parse invoice #233

anujarout opened this issue Jun 17, 2019 · 1 comment
Labels

Comments

@anujarout
Copy link

Hi
I am trying to use invoice2data for parsing some invoices, but i am facing following error:

from invoice2data import extract_data
result = extract_data('XYZ.pdf')

Output :
ReaderError: unacceptable character #x0082: special characters are not allowed
in "", position 312

*I am not trying any template format.

@m3nu m3nu added the type:support Support label Jun 17, 2019
@rmilecki
Copy link
Collaborator

Solved by 6ab3104 ("Treat all YAML templates files as UTF-8 encoded")

Make sure your .yml template file is UTF-8 encoded.

See #449

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

No branches or pull requests

3 participants