I'm new in Android.
When using Json Parsing, I have a problem with display text(maybe cause by font, I don't know).
This is my Json return:
{"Response":[{"Id":829,"Name":"Tiền không đem lại hạnh phúc nhưng...","ShortDescription":"Một tỷ phú tâm sự với bạn,...
But when I parse in TextView in android, the "Name" become:
"Ti�n không đem lại hạnh phúc nhưng..."
This text is in Vietnamese. How can I fix it?
I fixed it. My problem is UTF-8 charset.
Use a webView to display text like this:
The problem you are getting actually encoding. So the json string you are getting from your response need to add a proper encoding format. So just do like this.
Whlie posting a json use like this
While getting the json object use like this