Looks like its been url encoded but no url decoded.

On 3/15/07, Tobias Koller (GERMO GmbH) <[EMAIL PROTECTED]> wrote:

 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




--
--
Farrakh Mehdi Chowdhry
Mail: [EMAIL PROTECTED],
       [EMAIL PROTECTED]
Mobile: +44 (0) 7739517046
-------------------------------------------------------------------------
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