Login Register

charset

Changing charset?

I created a dijit Tree with a json resource and it displays the german special characters like ä, ö, ü as "?" symbols. the same happens if i want to display this characters in a dojox Grid. the page encoding and charset is set to utf 8.

here's an example of my tree:

for those who dont't know about jsp, "<%@ page language="java" pageEncoding="UTF-8"%>" tells the server to return the response in utf-8 format.

customerTree.jsp start:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

Xhrget....don't word i IE7 if the return JSON have a charset="iso8859-1"

If I have a web server that return a page JSON with this content-type:
**************************************************************
"Print |content-type: text/plain; charset="ISO8859-15"; |"
**************************************************************

And I execute a xrget in Firefox all work corretly and I see the data JSON with special caracters..

But in IE7 don't work...

What's the problem?

And the solution?

How I can call correctly a xhrget of specific charset...?

Tnx

Syndicate content