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

Problem with UTF-8 encoded characters #2

Open
nonprofittechy opened this issue Oct 22, 2019 · 0 comments
Open

Problem with UTF-8 encoded characters #2

nonprofittechy opened this issue Oct 22, 2019 · 0 comments

Comments

@nonprofittechy
Copy link
Member

Error
UnicodeEncodeError: 'utf-8' codec can't encode character '\ud860' in position 4410: surrogates not allowed
Log
Traceback (most recent call last):
File "/usr/share/docassemble/local3.6/lib/python3.6/site-packages/flask/app.py", line 1949, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/share/docassemble/local3.6/lib/python3.6/site-packages/flask/app.py", line 1935, in dispatch_request
return self.view_functionsrule.endpoint
File "/usr/share/docassemble/local3.6/lib/python3.6/site-packages/docassemble/webapp/server.py", line 9935, in index
response = make_response(output.encode('utf-8'), '200 OK')
UnicodeEncodeError: 'utf-8' codec can't encode character '\ud860' in position 4410: surrogates not allowed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant