Hi
I am creating an on the fly form with javascript .
[CODE]
…
[COLOR=”Red”] var xml = ‘content is in persian language’;[/COLOR]
var doc = modal.popFrame.contentWindow.document;
var submitForm = doc.createElement(“FORM”);
doc.appendChild(submitForm);
submitForm.method = “POST”;
var newElement = doc.createElement(“<input name=’hdnField’ type=’hidden’>”);
submitForm.appendChild(newElement);
newElement.value =[COLOR=”Red”] xml[/COLOR]
submitForm.action = url;
submitForm.submit();
the content of xml variable is utf8 format (a language characters other than english)
in server side the characters isn’t utf8 format
how can i convert it to utf8 or any other suggestion please !
thanks