var data = $("#frm1").serialize(); data = decodeURIComponent(data,true); data = encodeURI(encodeURI(data));