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

Non UTF-8 Characters #4

Closed
juliancc opened this issue Jun 26, 2014 · 2 comments
Closed

Non UTF-8 Characters #4

juliancc opened this issue Jun 26, 2014 · 2 comments
Labels
Milestone

Comments

@juliancc
Copy link

There is a problem with Non UTF-8 Characters.
Anything Non UTF-8 being passed to the json_encode throws warnings.

@jrbasso jrbasso added the bug label Jun 26, 2014
@young-steveo
Copy link

@juliancc Maybe just need to use the JSON_UNESCAPED_UNICODE option?

@jrbasso
Copy link
Member

jrbasso commented Jun 26, 2014

JSON_UNESCAPED_UNICODE is PHP 5.4+ so we need to find an alternative to work when the user is using PHP 5.3. I guess we should the json option when available, just fallback to an alternative and not to use the alternative for all cases.

jrbasso added a commit that referenced this issue Jul 5, 2014
Allow for unescaped unicode characters. Closes #4.
@jrbasso jrbasso added this to the 1.0.2 milestone Jan 19, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants