ileitch / rapns

MOVED TO https://github.com/rpush/rpush
MIT License
289 stars 92 forks source link

GCM returns an error for messages with Spanish characters #190

Open dmccarty opened 10 years ago

dmccarty commented 10 years ago

This may very well be user stupidity on my part but I am pushing a mix of Apns and GCM notifications containing the following message:

'Abra el App de El Rey y Clip para la oportunidad de ganar 4 boletos para ir a Zoo Lights en el Zoológico de Portland!

Apns works fine but GCM returns an error 400. When I change Zoológico to Zoologico it works. Is there some encoding I should be doing perhaps?