mgp25 / SC-API

Snapchat’s private API
MIT License
334 stars 103 forks source link

Caption text encoding #215

Closed jkb32 closed 9 years ago

jkb32 commented 9 years ago

I have problem with charset encoding (caption_text_display param from stories). If someone uses a special character or emoji I received something like this: ów ð. How should I set encoding?

ghost commented 9 years ago

Use utf8_decode(). http://php.net/manual/en/function.utf8-decode.php