Android Arabic charecter in json string shows how?

For some reason, I need to use a json string inside my application. This is the content of the string variable. I have registered this variable and this is the content:

{"contacts": [{ "name" : "سلام"},{  "name" : "علیک"}] } 

      

When I use my json class to display this varibale I get ?????? instead of Arabic characters.

My json class works fine when I get arabic charecter from a webservice, but it doesn't work fine when I get those characters from a variable inside my application.

+3


source to share





All Articles