为什么输出是乱码?

HungryBoy HungryBoy 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
Win1.document.open();
Win1.document.writeln('<html><meta http-equiv="Content-Type" content="text/html; charset=GBK"><head><title>' + titleList[1] + '</title></head>');
Win1.document.writeln('<body bgcolor="' + tableBackColor + '" text="Black" link="Blue" vlink="Gray" LEFTMARGIN=0 onload="window.focus()">');
Win1.document.writeln('<center><FONT face="宋体" SIZE="-1"><b>'+LayerNameShow+'</b>');
Win1.document.writeln('</font></center></body></html>');
Win1.document.close();
...全文
评论 2
收藏 已收藏
分享
返回顶部
HungryBoy
JavaScript 87,984 成员 224,681 内容