Open GoogleCodeExporter opened 9 years ago
APNSProperty does not also handle unicode as the data.
if not isinstance(data, (int, str, list, tuple, float)):
should be:
if not isinstance(data, (int, str, list, tuple, float, unicode)):
Original comment by 9th...@gmail.com
on 8 Jul 2010 at 8:57
I also run into this issue and had to encode the msg in UTF-8 before pushing it
:
msg.encode("utf-8")
Morever, I'm having issue trying to push the '\n' char in a message like "This
is a \n test". Did anybody manage to achieve that ? :/
Original comment by lionel.g...@gmail.com
on 7 Jul 2011 at 1:43
I working on it these days so there's a lot of changes is coming - so please,
be patient, I will release new version if few days
Original comment by klymys...@gmail.com
on 14 Jul 2011 at 9:31
This bombs:
alert.loc_args([u"Márcio"])
I had to patch line 73 of notifications.py to look like this:
self.locArgs = [ '"%s"'.encode('utf8') % x.encode('utf8') for x in la ]
Original comment by march...@fui.ai
on 21 Sep 2012 at 2:16
Make that
self.locArgs = [ '"%s"'.encode('utf8') % unicode(x).encode('utf8') for x in la ]
(so that it can eat any values, like teh original code).
Original comment by march...@fui.ai
on 21 Sep 2012 at 2:21
Original issue reported on code.google.com by
appfirst...@gmail.com
on 7 Jul 2010 at 3:59