Hi,
I am trying to run a parser via proc:execute/system. While if I run it from the command line, it works, it does not, if I run it via BaseX. More precisely, I get the following error:
Traceback (most recent call last):
File "main.py", line 325, in <module>
test_data = loader.load(params.test)
File "/Users/mycomputer/Desktop/Basex9.1beta 2/utils.py", line 57, in load
for line in f:
File "/Users/mycomputer/anaconda/lib/python3.6/encodings/ascii.py", line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 5390: ordinal not in range(128)
Is there a way to avoid that? Thanks.
Best,
Giuseppe