Hello,
I have problem to send chinese(traditional) on server push or web service
when i use web service
but the message not show chinese(traditional)
this what the problem when i use web service
then i use server api (i attach my java file)
i can send english but not chinese , i write in java
i have add the cod
con.setRequestProperty(“Accept-Language”,“zh-Hant”);
and set jsonBody like
String strJsonBody = “{”
-
““app_id”: “2328a999-3b35-4a20-bddb-98a72bfdd37a”,”
-
““included_segments”: [“All”],”
-
““data”: {“foo”: “bar”},”
-
““headings”: {“en”: “Mineweb”,“zh-Hant”: “你的數位生命”},”
-
““contents”: {“en”: “Mineweb”,“zh-Hant”: “你的數位生命”},”
-
““url”: “www.mineweb.tw”,”
-
““android_led_color”: “FF0000FF”,”
-
““isAnyWeb”: “true”” + “}”;
but the message just show Mineweb not 你的數位生命
can u tell me how to resolve this problem?
thx