jpoz / APNS

An Apple Push Notification Service gem
MIT License
543 stars 195 forks source link

Sending umlauts as push messages (from rails view) #4

Open besi opened 13 years ago

besi commented 13 years ago

I have a view, which should send push messages. As soon as I enter umlauts in my text, it is not submitted. This can be reproduced like this:

device_token = '123abc456def'
APNS.send_notification(device_token, :alert => 'Hellö iPhöné', :badge => 1, :sound => 'default')

I am using ruby 1.9 and Rails 3.0.x. Thanks for your help. For plain ASCII messages though your gem rocks!

thirtified commented 11 years ago

Not able to reproduce this issue with current version.