invoice2data
invoice2data copied to clipboard
output is not getting ,throwing a error while printing
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)
Maybe an old Python version or other issue with Unicode.
Solved by 6ab31047386a ("Treat all YAML templates files as UTF-8 encoded")
Make sure your .yml templates file is UTF-8 encoded.
See https://github.com/invoice-x/invoice2data/pull/449