Titanium JIRA Archive
Appcelerator Community (AC)

[AC-1615] ACS - Push Notifications and special characters

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionFixed
Resolution Date2014-04-25T04:34:46.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
LabelsACS, Cloud, Encoding, PushNotification
ReporterStephan Jensen
AssigneeShuo Liang
Created2014-03-14T09:08:50.000+0000
Updated2016-03-08T07:38:05.000+0000

Description

Problem Description:

Special characters such as Æ, Ø, and Å are not being displayed correctly on Android devices when sending out push notifications We have tried using UTF-8 enconding and ASCII encoding using the hex codes The characters are being displayed correctly on iOS devices The problem is only present on our android devices Community question about the issue: http://developer.appcelerator.com/question/163439/acs-push-notifications-and-special-characters The problem also exists in the push-notification console at http://cloud.appcelerator.com (android)

Testcase:

Uri

https://api.cloud.appcelerator.com/v1/push_notification/notify_tokens.json?key=

Request headers (POST)

User-Agent: Fiddler Host: api.cloud.appcelerator.com Content-Length: 127 Content-type: application/json; charset=UTF-8 Cookie: _session_id=

Request body

{ "channel": "test", "to_tokens": "everyone", "payload":{ "alert": "Message æøå", "title": "Title æøå" } }

Expected output on device (android):

title: Title æøå alert: Message æøå

Actual output on device (android):

title: Title ??? alert: Message ???

Comments

  1. Manuel Conde Vendrell 2014-03-18

    I want to add that also happens with accented spanish letters, like *á é í ó ú*. I suppose it happens with ASCII codes upper to 128.
  2. Shuo Liang 2014-03-21

    Same Issues, Please pay attention to link section.
  3. f 2014-03-31

    I confirm the issue. This is extremelly annoying. Please fix it.
  4. Takayuki Hono 2014-04-16

    It happens Japanese, too.
  5. Shuo Liang 2014-04-18

    Our engineer team has found the solution already, will fixed in next deployment.
  6. winkstory 2014-04-24

    When is the next deployment? This issue is a very serious problem. I can not send Push Notifications in multiple languages​​. If the deployment was delayed, I need to find another cloud service.
  7. Shuo Liang 2014-04-24

    We are trying our best to deliver a fix as soon as possible before the next deployment. I will ask if qe can verify it tomorrow and maybe make an out of band patch. Anyway, I will give you an update tomorrow.
  8. Shuo Liang 2014-04-25

    Hi all, This Issues has been fixed and deployed on the production. Now you can use multiple languages for push notification on android device. Thanks, Shuo

JSON Source