I’m building a service to push out notifications to iOS devices over APNS. Everything is working great, except for the fact that if the message text includes the £ (British Pound) or € (Euro) characters then the notification is not sent by APNS. I don’t think this is a JSON issue as they don’t normally need escaping (I’ve tried escaping them anyway to no avail). Is there something I need to do in order to support the whole character set?
I’m building a service to push out notifications to iOS devices over APNS. Everything
Share
Have you tried the JSON ASCII escape for Unicode? Send
\u00A3for £ and\u20ACfor €.JSON character encoding – is UTF-8 well-supported by browsers or should I use numeric escape sequences?