base64.utf8encode

$.base64.utf8encode = true;
var id = $.base64.btoa(wiresetid, true);
var sw = $.base64.btoa(wiresetpsw, true);
window.location.href='loginautoset.html#wlSsid='+id+'&&wlWpaPsk='+sw+'';

$.base64.utf8decode  = true;
var decodeid = $.base64.atob(subid, true);
var decodepass = $.base64.atob(subpass, true);
$("#loid_user").val(decodeid);
$("#loid_pwd").val(decodepass);

你可能感兴趣的:(base64.utf8encode)