大家接入支付宝网页端的时候,有没有出现由于中文导致签名出错的问题呢?

#1

我在接入支付宝网页端接口时,使用

window.open('','_self')
newWindow.document.write(res);
newWindow.focus();

谷歌正常调通,但是ie就会出错。
发现subject有中文的时候会乱码,然后支付宝报签名出错。
我尝试使用 newWindow.document.charset = "UTF-8";
但是会报

Cannot assign to read only property 'charset' of object '#<HTMLDocument>'

请问有大佬遇到过这种问题吗?麻烦指教:joy: