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
Hebrew issues on API #1963
Comments
Hey @neran can you please show us some example that we can use to reproduce this? |
Or better yet, if you have a way to fix it, we would love that fix in a PR. |
Thanks @neran! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hebrew values are messed up on API calls due to json_encode function.
Fix:
/api/core/Directus/Application/Application.php, line 140
Change
$response->setBody(json_encode($data));
To
$response->setBody(json_encode($data,JSON_UNESCAPED_UNICODE));
The text was updated successfully, but these errors were encountered: