I get a JSON encoded array from Facebook that contains:
[{"message": "D \ u011bkujeme Zuzana Boh \ u010dov \ u00e1 za na \ u0161i novou profilovou fotku: -) \ nWe thank Zuzana Boch \ u010dov \ u00e1 for our new profile :-)"}]
When I decode JSON and print the content I get:
DÄ> kujeme Zuzana BohÃÄÄÃÃÃà ¢ za naái novou profilovou fotku :-) We thank Zuzana BohÃÃÄÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃà ¢ for our new image :-)
I used mb_detect_encoding($message)utf-8 as well, but how do I convert characters ready for human consumption?
source
share