Sorry for taking so long to get to this email. Are you still having
issues with this?
The problem seems to be a string encoding mis-match between the
encoding at the provider (a.k.a. server) and the iPhone. The APNS
library uses UTF-8 for encoding the messages. Apparently, if the
pushed alert doesn't use 'loc-key' and 'loc-args', the iPhone would
use the iPhone user-set locale which might be using a different
encoding than UTF-8. Check [1]. So far, this my hypothesis and would
like to do more testing before changing the library.
I think there are two ways to go forward:
1. [Recommended] Use loc-key and loc-args and pre-defined the messages
in the application bundle, as recommended by the linked article.
2. Add an encoding parameter in the library to determine how the alert
should be encoded.
Regards,
Mahmood
It seems the issue here is that the library ser
Sorry for taking so long to get to this email.
Are you still having issues with this?
I just pushed a unit test case for ensuring that the strings are
encoded as UTF-8. I suspect that