Page 1 of 1

problem with curl and Push Notifications

Posted: Tue Apr 28, 2015 5:12 am
by Hank Joreid

Hi, i have a page in php there i push out notifications.. but i have a problem with message.

i get a "Message can't be empty". i have testet to echo out the result to see if the message fild is empty and its not.
See SS:

This is not working:
Image

This is working:
Image

in the mysql database i have the same data in both field.


problem with curl and Push Notifications

Posted: Tue Apr 28, 2015 10:52 am
by Hank Joreid

i font out the problem comming from i using ø æ å


problem with curl and Push Notifications

Posted: Tue Apr 28, 2015 11:14 am
by Hank Joreid

i found the problem. i needed to use utf8_encode()


problem with curl and Push Notifications

Posted: Tue Apr 28, 2015 5:27 pm
by Illya Stepanov

Hi Hank -

Thanks for sharing this.