invoice2data icon indicating copy to clipboard operation
invoice2data copied to clipboard

output is not getting ,throwing a error while printing

Open ganeshsingamaneni opened this issue 5 years ago • 1 comments

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)

ganeshsingamaneni avatar Jun 28 '19 07:06 ganeshsingamaneni

Maybe an old Python version or other issue with Unicode.

m3nu avatar Aug 21 '19 13:08 m3nu

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

rmilecki avatar Jan 25 '23 10:01 rmilecki