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

Fix string encoding issue in JSON _download function #774

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

sheva-di
Copy link

Previously, the _download function directly returned the response body as a string, which could lead to improper character encoding. This commit changes the function to decode the response body bytes using utf8.decode. This ensures the function correctly handles different character encodings and improves the robustness of the data handling.

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

Successfully merging this pull request may close these issues.

1 participant