UTF-8 problem
UTF-8 problem
nenad
Posts: 2Questions: 1Answers: 0
In my example variable json2 contains UTF-8 characters values.
Gson gson = new GsonBuilder().setPrettyPrinting().create();
String json2 = gson.toJson(personJsonObject);
return json2;
but at html page I got character '?' insted of čćšđ ....
Html jsp file is UTF-8 and contain in header <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
Here is view
http://organic-nkolar.rhcloud.com/
Thank you in advance.
This discussion has been closed.
Answers
Problem solved by