Hi all, I have PushWoosh statusbar notification issue. I am sending Hebrew messages with PushWoosh, and they present well when application is online, but not when application is running in background and then the alerts shown in statusbar of the device. Instead of Hebrew I see "%D7%A9%D7%9C%D7%95%D7%9D" I send the messages from server side in this way: String message="שלום"; String encoded_msg = URLEncoder.encode(message, "UTF-8").replaceAll("\+", " "); . . . And later I add it to json under: "content":{ "en":"English", "iw": encoded_msg } And post it to https://cp.pushwoosh.com/json/1.3/createTargetedMessage

How can I set the messages to be encoded also in statusbar?

asked 22 Mar '16, 14:11
Moshe%20Sucaz's gravatar image

Moshe Sucaz
112

edited 22 Mar '16, 15:27

solved after changing: heb_message = URLEncoder.encode(heb_message, "utf-8").replaceAll("\+", " "); to: heb_message = new String(heb_message.getBytes(), "UTF-8");

permanent link
answered 23 Mar '16, 17:29
Moshe%20Sucaz's gravatar image

Moshe Sucaz
112

Hi!

Glad the issue got resolved. Next time please contact our support service at help@pushwoosh.com :)

permanent link
answered 24 Mar '16, 06:49
Nikolai's gravatar image

Nikolai
3585

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×326
×111
×38
×8

question asked: 22 Mar '16, 14:11

question was seen: 710 times

last updated: 24 Mar '16, 06:49