encodeURIComponent
<script type="text/javascript"> document.write(encodeURIComponent("全景图")+ "<br />") </script>
结果是%E5%85%A8%E6%99%AF%E5%9B%BE 编码是Utf-8的,我想转化为GB2312要怎么实现
收起
js对中文进行gb2312/gbk编码
报告相同问题?