-
Notifications
You must be signed in to change notification settings - Fork 2.9k
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
issue with geting utf-8 characters #772
Comments
i solved it by passing file: in line 408: and file: |
problem solved just for getting json. |
i have the same problem,ths. |
@RazzaghShahidi Work For Me ,So THANKS |
@chriskacerguis I also hit this issue. Can we make that configurable, |
Like if ($this->config->item('charset') == 'utf8') {
return json_encode($data, JSON_UNESCAPED_UNICODE)
} else {
return json_encode($data)
} |
yo man! it work fine, Vietnamese utf-8 wanna say thanks to you <3 |
i got bad decoded json data.
my data are in persian and in my web are displayed well but in api getting bad characters.
for example:
i got in api :
{"manategh":[{"manategh_id":"51","manategh_name":"\u0634\u0644\u0645\u0686\u0647","manategh_picture":"24.jpg","manategh_description":"\u0645\u0648\u0642\u0639\u06cc\u062a \u062c\u063a\u0631\u0627\u0641\u06cc\u0627\u06cc\u06cc \u0634\u0644\u0645\u0686\u0647:\r\n\r\n\u0634\u0644\u0645\u0686\u0647 \u062f\u0631 \u06a9\u0634\u0648\u0631 \u0627\u06cc\u0631\u0627\u0646 \u060c \u0627\u0633\u062a\u0627\u0646 \u062e\u0648\u0632 }]}
The text was updated successfully, but these errors were encountered: