Hank Joreid
Posts: 0
Joined: Mon Apr 20, 2015 1:00 pm

problem with curl and Push Notifications

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.

Hank Joreid
Posts: 0
Joined: Mon Apr 20, 2015 1:00 pm

problem with curl and Push Notifications

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

Hank Joreid
Posts: 0
Joined: Mon Apr 20, 2015 1:00 pm

problem with curl and Push Notifications

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

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

problem with curl and Push Notifications

Hi Hank -

Thanks for sharing this.

Return to “Issues”