From 053c29a22d2e8f57f0fc98660768666d4ae2eb09 Mon Sep 17 00:00:00 2001 From: wangchunsheng Date: Sat, 24 Apr 2010 14:06:54 +0000 Subject: [PATCH] * fix the bug of csv. --- trunk/module/file/control.php | 1 + 1 file changed, 1 insertion(+) diff --git a/trunk/module/file/control.php b/trunk/module/file/control.php index 61d68abdba..8165c69fa3 100644 --- a/trunk/module/file/control.php +++ b/trunk/module/file/control.php @@ -48,6 +48,7 @@ class file extends control header("Content-Disposition: attachment; filename=$fileName"); header("Pragma: no-cache"); header("Expires: 0"); + echo chr(0xEF) . chr(0xBB) . chr(0xBF); echo stripslashes($this->post->csvData); die(); }