Variables from PDF templates - Unicode problem
Hi, I'm trying to pull variables from a PDF written in Catalan, from a municipality's website. I got the following error: *********** Traceback (most recent call last): File "/usr/share/docassemble/local/local/lib/python2.7/site-packages/flask/app.py", line 1612, in full_dispatch_request rv = self.dispatch_request() File "/usr/share/docassemble/local/local/lib/python2.7/site-packages/flask/app.py", line 1598, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/usr/share/docassemble/local/local/lib/python2.7/site-packages/flask_user/decorators.py", line 29, in decorated_view return func(*args, **kwargs) File "/usr/share/docassemble/local/local/lib/python2.7/site-packages/flask_user/decorators.py", line 76, in decorated_view return func(*args, **kwargs) File "/usr/share/docassemble/local/local/lib/python2.7/site-packages/docassemble/webapp/server.py", line 10981, in utilities fields_output += ' "' + field + '": ' + default + "\n" UnicodeDecodeError: 'ascii' codec can't decode byte 0xfe in position 27: ordinal not in range(128) ******* Can I fix this? Regards, Winter
participants (1)
-
winterlaite@gmail.com