Uploaded image for project: 'Appcelerator - INBOX'
  1. Appcelerator - INBOX
  2. AC-1615

ACS - Push Notifications and special characters

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: None
    • Component/s: None
    • Environment:

      Cloud REST API

      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=<removed>

      Request headers (POST)

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

      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 ???

        Attachments

          Activity

            People

            • Assignee:
              sliang Shuo Liang
              Reporter:
              stsje Stephan Jensen
            • Watchers:
              10 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Git Integration