php下载的文件中文乱码
$second=time();
header("Content-type: application/force-download");
//header("Cache-Control: private");
header('Content-Transfer-Encoding: utf-8');
header("Content-Type: text/csv; name=rapport".$second.".rtf");
//header("Content-Type: application/rtf");
header("Content-Disposition: attachment;filename=rapport".$second.".rtf");
header("Pragma: no-cache");
header("Expires: 0");
文件打开后中文变成乱码,哪位有解决方法?