我想使用Wp-All-Import导入以下数据:http://clients.ac3-distribution.com/office8/la_villa_canclaux/cache/export.xml
编码正确,在浏览器中看不到问号或奇怪的特殊字符。
当我在Wordpress上导入它时,我在classes / download.php中使用此功能
static public function xml($file_name)
{
header("Content-Type: application/xhtml+xml; charset=UTF-8");
header("Content-Disposition: attachment; filename=\"".basename($file_name)."\"");
readfile($file_name);
die;
}
我在插件中看不到数据(其中一些带有重音符号或特殊字符)。它们不被系统使用。
更多,当我尝试在计算机上手动保存此文件时,我可以在脚本编辑器中看到问号(以带有重音符号或特殊字符)……这一切怎么了?我要疯了!