Hello,

 

i need to send german "umlaute" via Post-Request to the server.

 

This is my code:

 

var retVal = "";

var params = encodeURIComponent("name")+"="+encodeURIComponent(name.getValue());

url = encodeURI("prog/save.php?type="+type);

      

var r = new qx.io.remote.Request(url, "POST", qx.util.Mime.JSON);

r.setAsynchronous(false);

r.setTimeout(20000);

r.setData(params);

 

alert(params);

      

r.addEventListener("completed", function(e) {

      retVal = e.getData().getContent();

});

      

r.send();

 

 

param is set to "testä".

the alert shows me: "test%C3%A4"

But the request-param is "testä". I checked it with firebug.

The js-File is saved as UTF-8.

 

Could someone help me?

 

Thanks a lot!

Tobias

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to