I know that JSON_decode only works with UTF-8, I want to use characters like this:”ë” how can I achieve that? or there is not way?
THANK YOU FOR YOUR TIME AND HELP.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Just encode the character in UTF-8. It looks like you want U+00EB, or as it’s called in the Unicode spec: “LATIN SMALL LETTER E WITH DIAERESIS”.
In UTF-8 that is two bytes:
c3 abOr you can use an string escape:
"\u00eb"You should probably also read Joel Spolsky’s article The Absolute Minimum Every Software Developer Absolutely, Positively Must Know About Unicode and Character Sets (No Excuses!).