I have a problem with nsIStringInputStream interface. I want to make multipart POST to my http server. The problem is that all non-ascii chars are cuted-out from string. Look below:
var inputStream = Components.classes["@mozilla.org/io/string-input-stream;1"].createInstance(Components.interfaces.nsIStringInputStream);
inputStream.setData(this.text, -1);
"this.text" is a value from textbox widget. XUL document encoding is set to UTF-8.
Thanks in advance.
ML _______________________________________________ Mozilla-xpcom mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-xpcom
