1

My backend team is sending the ₹ symbol in the iOS payload title as HTML to APNS. Which when received on the iOS device is not getting converted to the ₹ symbol. Could someone please assist as to how to get this thing done?

Krishna
  • 31
  • 1
  • 3

2 Answers2

1

Use \u20B9 for INR symbol.

A sample APNS payload which works:

{"aps":{"alert":"\u20B9 Hello(4)","badge":1,"sound":"default"}}
Vin
  • 10,517
  • 10
  • 58
  • 71
0

try JSON ASCII escape for Unicode? Send \u00A3 for £ and \u20AC for €

JSON character encoding - is UTF-8 well-supported by browsers or should I use numeric escape sequences?

Manish_Nainwal
  • 301
  • 1
  • 5