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

[Student feedback] Umlauts, special characters / encoding issue #104

Open
eliasgruenewald opened this issue Jun 22, 2021 · 2 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@eliasgruenewald
Copy link
Member

The student writes:

Screenshot 2021-06-22 at 11 04 23

@eliasgruenewald
Copy link
Member Author

We need to escape quotation marks, but can we use utf8 (?) for the rest?

@eliasgruenewald eliasgruenewald added the bug Something isn't working label Jun 22, 2021
@gebauerm
Copy link
Member

In the past this helped me:
https://pypi.org/project/ftfy/

Would be good to know where the encoding gets messed up. MongoDB uses UTF-8 already per default, but I would assume it can happen after we query the database.
I have a class for solving these problems in graphler, i can simply copy the code and put it in front of everything we retrieve from the db if the error is there.

@gebauerm gebauerm self-assigned this Jun 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants