中间遇到一个问题是提交的中文文件名直接放到header里在IE下会变成乱码,解决方法是将文件名先urlencode一下再放入header,如下。
<div class="codetitle"><a style="CURSOR: pointer" data="85993" class="copybut" id="copybut85993" onclick="doCopy('code85993')"> 代码如下:
中间遇到一个问题是提交的中文文件名直接放到header里在IE下会变成乱码,解决方法是将文件名先urlencode一下再放入header,如下。
<div class="codetitle"><a style="CURSOR: pointer" data="85993" class="copybut" id="copybut85993" onclick="doCopy('code85993')"> 代码如下: