Hi,andrew:
I get a test about view.request().
If POST data to server ,which has chinese, the http server can't read this value correct.
And If GET data from http server, which also has chinese, sciter can't show the value correct.
My Code:
....
params.complete = complete;
view.reqeust(params);
How to get the correct value? thanks!
PS:GET and POST data by IE or other browser is work correct.
I get a test about view.request().
If POST data to server ,which has chinese, the http server can't read this value correct.
And If GET data from http server, which also has chinese, sciter can't show the value correct.
My Code:
function complete(data, status){ var out = Stream.openString(); //data.encoding ="utf-8"; //this is also not correct!!! out << "Response....\r\n" << "Status:" << status << "\r\nData:" << data.toString(); $(plaintext#outputString).value = out.toString(); out.close(); }
....
params.complete = complete;
view.reqeust(params);
How to get the correct value? thanks!
PS:GET and POST data by IE or other browser is work correct.