PRX / apn_on_rails

Apple Push Notifications on Rails
http://rubydoc.info/github/PRX/apn_on_rails/master/frames
MIT License
538 stars 156 forks source link

notification delivery fails if any part of the message contains UTF-8 characters #65

Open jeffday opened 11 years ago

jeffday commented 11 years ago

incompatible character encodings: ASCII-8BIT and UTF-8 /Users/jday/.rvm/gems/ruby-1.9.3-p429@rails3.2/gems/apn_on_rails-0.5.1/lib/apn_on_rails/app/models/apn/notification.rb:83:in `message_for_sending'

the alert field in the notification that triggered this error contained this string:

Belén