My application is running on Google App Engine/Java
I am trying to pass jQuery Hebrew text (via JSON), although I keep getting question marks (????) instead of the text.
All other text appears well besides Hebrew.
Here is the jQuery code:
$.ajax({
type: 'POST',
url: '/SomeAction.html',
data: { status: 'START' },
contentType: "application/x-www-form-urlencoded; charset=UTF-8",
dataType: 'json',
success: function (data) {
In the server side I use a Java debugger and I see the Hebrew text well. Here is the code on the server (I use Java/Spring and Jackson)
objectMapper.setSerializationInclusion(Include.NON_NULL);
String json = objectMapper.writeValueAsString(quizPojo);
response.setContentType("application/json");
response.setHeader("Content-Type","text/html; charset=utf-8");
response.setCharacterEncoding("utf-8");
//logger.warning(json);
return json;
Appreciate any help,