摘要:
文件名命名乱码的问题:$ua=$_SERVER['HTTP_USER_AGENT'];if(preg_match('/MSIE/',$ua)){$file_name=str_replace('+','%20',urlencode($file_name));}文件内容有中文字符的:header('Content-Type:application/csv;charset=UTF-8');//application/vnd.openxmlformats-officedocument.spreadsheetml.sheet 阅读全文
posted @ 2012-07-23 13:34
mustardpeanut
阅读(1990)
评论(0)
推荐(0)