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 unescaped unicode encoding parameter #26

Merged
merged 1 commit into from Oct 6, 2016

Conversation

Projects
None yet
2 participants
@landrok
Copy link
Contributor

commented Sep 13, 2016

3rd parameter for json_encode is a max depth limitation. JSON_UNESCAPED_UNICODE has an int value of 256 whereas the max depth value is 512 (so no matter this way). This patch restores the expected usage of UNESCAPED_UNICODE param which is to
encode multibyte Unicode characters literally.

Fix unescaped unicode encoding parameter
3rd parameter for json_encode is a max depth limitation. `JSON_UNESCAPED_UNICODE` has an int value of 256 whereas the max depth value is 512 (so no matter this way). This patch restores the expected usage of UNESCAPED_UNICODE param which is to
encode multibyte Unicode characters literally.

@wfleming wfleming merged commit 8c2cb69 into codeclimate:master Oct 6, 2016

2 checks passed

ci/circleci Your tests passed on CircleCI!
Details
codeclimate Code Climate didn't find any new or fixed issues.
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.