I am sending messages from google gcm using python. and GCM having 4kb(4096) limit in payload
s = "你好"
u = u"你好"
len(s) # output is 6
len(u) # output is 2 because of unicode
Now my question is how to count payload size.
or
what is google considering for size of payload as unicode or utf-8 ?
It is the issue of google GCM Confirmed form gcm-dev-support Due to this i can send 12kb payload( even if limit was 4kb )