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?
Asked
Active
Viewed 3,252 times
1
-
I had a look around but could only find pieces on people struggling with a potential problem of not sending in UTF-8 format. They certainly were having the same problem with sending umlauts. – Pork 'n' Bunny Aug 08 '12 at 14:38
1 Answers
4
Have you tried the JSON ASCII escape for Unicode? Send \u00A3
for £ and \u20AC
for €.

Community
- 1
- 1

Jeffery Thomas
- 42,202
- 8
- 92
- 117