I am using Java/Spring and JSON. Saving Hebrew content is working well, I can see the text well on the data-store (stored as Text object).
From some reason I can not retrieve it well, all Hebrew characters turn to question marks.
Here is the server side code to demo the issue:
@RequestMapping(value="/SomeAction.html", method = RequestMethod.POST, produces="application/json;charset=UTF-8")
@ResponseBody
public String getQuestion(HttpServletRequest request,
HttpServletResponse response){
String qKey = request.getParameter("key");
Question q = new Question();
q.setKey(qKey);
Question question = QuestionUtils.getQuestionDetails(q);
log.warn(question.getBody());
return question.getBody()
}
In the logging I can see the hebrew very well. In the web-site I only see question marks.
Appreciate any help