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

output is not getting ,throwing a error while printing #239

Closed
ganeshsingamaneni opened this issue Jun 28, 2019 · 2 comments
Closed

output is not getting ,throwing a error while printing #239

ganeshsingamaneni opened this issue Jun 28, 2019 · 2 comments
Labels

Comments

@ganeshsingamaneni
Copy link

this is the error
'unicode', "special characters are not allowed")
yaml.reader.ReaderError: unacceptable character #x0082: special characters are not allowed
in "", position 46

my code:

from invoice2data import extract_data

result = extract_data('/home/ganesh/Videos/1.pdf')
print(result)

@m3nu
Copy link
Collaborator

m3nu commented Aug 21, 2019

Maybe an old Python version or other issue with Unicode.

@rmilecki
Copy link
Collaborator

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

Make sure your .yml templates 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